dschinn1001
Posts: 149
Joined: Mon Mar 20, 2017 5:31 pm

password size with up to 1 GB

Fri Jul 13, 2018 10:01 pm

As long I have investigated about passwd and about mcrypt - is that command passwd is involving command mcrypt for encryption of passwd.

But it seems that mcrypt is not installed in solus ?!

When I make query with

whereis mcrypt

then result is empty ?!

The idea is to pump up password size to 1 GB and I have modified the source files of mcrypt already for usage of password with size of 1 GB.
I want to read in 1 GB as password from usb-stick or from media dvd. For this I have prepared a little shell-script.

All is finish.

It needs only to be tested.

For this it is necessary to find the files of mcrypt, because mcrypt is used by passwd.

In the meantime after 3 hours I posted above thread - a friend said that mcrpyt is deprecated and instead I should take Open SSL more seriously for command passwd. Well have downloaded OpenSSL and next hours and days I read in the files for to probably change them slightly.

Is command passwd in Solus now involving OpenSSL ? Not mcrypt any more ?
Please enlighten me. Thank you.

Greetings to Ikey and his solus team.

Val.

dschinn1001
Posts: 149
Joined: Mon Mar 20, 2017 5:31 pm

Re: password size with up to 1 GB

Thu Jul 26, 2018 12:58 pm

It seems that new gcc is somehow not working entirely yet ?!

I have changed the files of mcrypt 2.6.8 only slightly (some numbers as sizes).

But compiling with ./configure - make check - make - and make install is prevented by ./configure with some
errors ... due to gcc ?! Apparently gcc cannot create needed variables, but variables are given ?!

I post config.log with error message here :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by mcrypt configure 2.6.8, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure CC=/usr/local2/bin/gcc

## --------- ##
## Platform. ##
## --------- ##

hostname = unix
uname -m = x86_64
uname -r = 4.17.6-82.current
uname -s = Linux
uname -v = #1 SMP PREEMPT Sat Jul 14 12:48:43 UTC 2018

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /snap/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1991: checking build system type
configure:2009: result: x86_64-unknown-linux-gnu
configure:2031: checking host system type
configure:2046: result: x86_64-unknown-linux-gnu
configure:2068: checking target system type
configure:2083: result: x86_64-unknown-linux-gnu
configure:2127: checking for a BSD-compatible install
configure:2183: result: /usr/bin/install -c
configure:2194: checking whether build environment is sane
configure:2237: result: yes
configure:2265: checking for a thread-safe mkdir -p
configure:2304: result: /bin/mkdir -p
configure:2317: checking for gawk
configure:2333: found /usr/bin/gawk
configure:2344: result: gawk
configure:2355: checking whether make sets $(MAKE)
configure:2376: result: yes
configure:2620: checking for style of include used by make
configure:2648: result: GNU
configure:2718: checking for gcc
configure:2745: result: /usr/local2/bin/gcc
configure:2983: checking for C compiler version
configure:2990: /usr/local2/bin/gcc --version >&5
./configure: line 2991: /usr/local2/bin/gcc: No such file or directory
configure:2993: $? = 127
configure:3000: /usr/local2/bin/gcc -v >&5
./configure: line 3001: /usr/local2/bin/gcc: No such file or directory
configure:3003: $? = 127
configure:3010: /usr/local2/bin/gcc -V >&5
./configure: line 3011: /usr/local2/bin/gcc: No such file or directory
configure:3013: $? = 127
configure:3036: checking for C compiler default output file name
configure:3063: /usr/local2/bin/gcc conftest.c >&5
./configure: line 3064: /usr/local2/bin/gcc: No such file or directory
configure:3066: $? = 127
configure:3104: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "mcrypt"
| #define PACKAGE_TARNAME "mcrypt"
| #define PACKAGE_VERSION "2.6.8"
| #define PACKAGE_STRING "mcrypt 2.6.8"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mcrypt"
| #define VERSION "2.6.8"
| #define T_CPU "x86_64"
| #define T_VENDOR "unknown"
| #define T_OS "linux-gnu"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3111: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/local2/bin/gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=/usr/local2/bin/gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-unknown-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run aclocal-1.10'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run autoconf'
AUTOHEADER='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run autoheader'
AUTOMAKE='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run automake-1.10'
AWK='gawk'
BZIP2=''
CC='/usr/local2/bin/gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
GZIP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_MACOSX_LIBS=''
LD=''
LDFLAGS=''
LIBICONV=''
LIBINTL=''
LIBMCRYPT_CFLAGS=''
LIBMCRYPT_CONFIG=''
LIBMCRYPT_LIBS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/linux/Downloads/mcrypt-2.6.8/missing --run makeinfo'
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='mcrypt'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='mcrypt'
PACKAGE_STRING='mcrypt 2.6.8'
PACKAGE_TARNAME='mcrypt'
PACKAGE_VERSION='2.6.8'
PATH_SEPARATOR=':'
POSUB=''
RANLIB=''
RM=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='2.6.8'
XGETTEXT=''
XGETTEXT_015=''
ac_ct_CC='/usr/local2/bin/gcc'
ac_ct_DUMPBIN=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /home/linux/Downloads/mcrypt-2.6.8/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux-gnu'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "mcrypt"
#define PACKAGE_TARNAME "mcrypt"
#define PACKAGE_VERSION "2.6.8"
#define PACKAGE_STRING "mcrypt 2.6.8"
#define PACKAGE_BUGREPORT ""
#define PACKAGE "mcrypt"
#define VERSION "2.6.8"
#define T_CPU "x86_64"
#define T_VENDOR "unknown"
#define T_OS "linux-gnu"

configure: exit 77

User avatar
kyrios
Posts: 2161
Joined: Thu Sep 22, 2016 4:20 pm

Re: password size with up to 1 GB

Thu Jul 26, 2018 5:30 pm

./configure: line 2991: /usr/local2/bin/gcc: No such file or directory

Return to “Ideas”