libgcrypt: random source via library on Linux?
Steffen Nurpmeso
steffen at sdaoden.eu
Thu May 28 14:43:01 CEST 2020
Hello!
Werner Koch via Gnupg-users wrote in
<875zcgtizp.fsf at wheatstone.g10code.de>:
|On Tue, 26 May 2020 15:35, Steffen Nurpmeso said:
|> Fatal: no entropy gathering module detected
|
|Which version of libgcrypt is that and what build options were used?
Oh, sorry. That is on CRUX-Linux 3.5
#?0|kent:$ prt-get info libgcrypt
Name: libgcrypt
Path: /usr/ports/opt
Version: 1.8.5
Release: 1
Description: A general purpose cryptographic library based on GnuPG
URL: http://www.gnupg.org
Maintainer: Thomas Penteker, tek at serverop dot de
Dependencies: libgpg-error
#?0|kent:$ cat /usr/ports/opt/libgcrypt/Pkgfile
# Description: A general purpose cryptographic library based on GnuPG
# URL: http://www.gnupg.org
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: libgpg-error
name=libgcrypt
version=1.8.5
release=1
source=(ftp://ftp.gnupg.org/gcrypt/libgcrypt/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--disable-padlock-support \
--enable-static=yes
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
}
Our C library is
#?0|kent:$ prt-get info glibc
Name: glibc
Path: /usr/ports/core
Version: 2.28
Release: 2
Description: The C library used in the GNU system
URL: http://www.gnu.org/software/libc/
Maintainer: CRUX System Team, core-ports at crux dot nu
Files: post-install
and it is configured in essence via
--with-headers=$PKG/usr/include \
--enable-kernel=4.9 \
--enable-add-ons \
--enable-static-nss \
--enable-stack-protector=strong \
--enable-obsolete-rpc \
--enable-obsolete-nsl \
--disable-profile \
--disable-werror \
--without-gd \
--enable-multi-arch
He is a busy Siemens security guy i think, but the ArchLinux
libgcrypt comes on over with the same recipe?
Ciao,
--steffen
|
|Der Kragenbaer, The moon bear,
|der holt sich munter he cheerfully and one by one
|einen nach dem anderen runter wa.ks himself off
|(By Robert Gernhardt)
More information about the Gnupg-users
mailing list