Package Details: libu2f-server 1.1.0-2

Git Clone URL: https://aur.archlinux.org/libu2f-server.git (read-only)
Package Base: libu2f-server
Description: Yubico Universal 2nd Factor (U2F) Server C Library
Upstream URL: https://developers.yubico.com/libu2f-server/
Licenses: BSD
Submitter: maxime1986
Maintainer: maxime1986
Last Packager: maxime1986
Votes: 14
Popularity: 0.814603
First Submitted: 2014-12-27 11:11
Last Updated: 2018-01-12 17:03

Latest Comments

maxime1986 commented on 2018-01-26 20:28

@tsh readelf doesn't show those symbols:

max@host % readelf -Ws /usr/lib/libcrypto.so.1.1 /usr/lib/libssl.so.1.1 | grep -e SSL_load_error_strings -e ERR_free_strings -e RAND_cleanup
max@host % 

And I don't explicitly set OPENSSL_API_COMPAT but :

max@host % cat /usr/include/openssl/opensslconf.h
…
#ifndef OPENSSL_MIN_API
# define OPENSSL_MIN_API 0
#endif

#if !defined(OPENSSL_API_COMPAT) || OPENSSL_API_COMPAT < OPENSSL_MIN_API
# undef OPENSSL_API_COMPAT
# define OPENSSL_API_COMPAT OPENSSL_MIN_API
#endif
…

tsh commented on 2018-01-16 12:46

Looks like you do not have to have those functions in openssl-1.1.0 as the header files seem to wrap them if you set OPENSSL_API_COMPAT to a value less than 10100000L while compiling. Any chance that you are setting it?

tsh commented on 2018-01-16 12:29

@maxime1986, thank you for accepting the patch.

It is strange that it was building for you with openssl-1.1.0. Does readelf -Ws /usr/lib/libcrypto.so.1.1 /usr/lib/libssl.so.1.1 show the symbols SSL_load_error_strings, ERR_free_strings, or RAND_cleanup for you?

maxime1986 commented on 2018-01-12 17:06

@tsh I did not have problem building the package (I am using openssl-1.1.0.g-1)… but the openssl documentation was in favor of your patch so I applied it.

tsh commented on 2018-01-11 11:35

Package fails to compile due to deprecate functions in openssl:

[code] ... ../u2f-server/.libs/libu2f-server.so: undefined reference to SSL_load_error_strings' ../u2f-server/.libs/libu2f-server.so: undefined reference toERR_free_strings' ../u2f-server/.libs/libu2f-server.so: undefined reference to `RAND_cleanup' collect2: error: ld returned 1 exit status [/code]

This is to be fixed upstream by removing these functions. They are not required in openssl-1.1.0 as they are automatically initialized: https://www.openssl.org/docs/man1.1.0/crypto/SSL_load_error_strings.html

I made a patch against libu2f-server-1.1.0 which make it possible to compile this package with current openssl-1.1.0. The patch is email to @maxime1986

maxime1986 commented on 2018-01-05 15:28

@Georgo10 @maximbaz package updated

Georgo10 commented on 2018-01-05 12:36

For 1.1.0, "help2man" should be also make dependency.

maximbaz commented on 2018-01-04 15:37

gengetopt is a new make dependency since 1.1.0, please add it too.

maximbaz commented on 2018-01-03 14:48

Because json-c was updated, this package needs to be recompiled - it is usually enough to just bump pkgrel, but in this case the compilation will break - see https://github.com/Yubico/libu2f-server/issues/32