Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sipsak: Libgcrypt warning: missing initialization - please fix the application #40

Open
tbals opened this issue Nov 21, 2017 · 2 comments

Comments

@tbals
Copy link

tbals commented Nov 21, 2017

Ubuntu 14.04 LTS with sipsak from default repository

sipsak -V
sipsak 0.9.6 by Nils Ohlmeier
Copyright (C) 2002-2004 FhG Fokus
Copyright (C) 2004-2005 Nils Ohlmeier
compiled with DEFAULT_TIMEOUT=500, FQDN_SIZE=65, RAW_SUPPORT, LONG_OPTS, GNUTLS_MD5, SRV_SUPPORT(RULI), STR_CASE_INSENSITIVE, CMP_CASE_INSENSITIVE

sipsak --nagios-code -U -i --expires 300 --contact sip:checksip@server --password secret --sip-uri sip:checksip@server.tld.de:5060

On syslog the message appears:
sipsak: Libgcrypt warning: missing initialization - please fix the application

dpkg -l | grep -i libgcrypt

ii libgcrypt11:amd64 1.5.3-2ubuntu4.5 amd64 LGPL Crypto library - runtime library

@nils-ohlmeier
Copy link
Owner

Thanks for reporting. I guess this comes from the fact that sipsak 0.9.6 if it found GnuTLS it assumed that it could use MD5 through GnuTLS OpenSSL wrapper. But in that case it never does anything to initialize GnuTLS.

@nils-ohlmeier
Copy link
Owner

So I just tested in on Ubuntu 14 and with sipsak 0.9.6 from the Ubuntu packages I get the same error. But with a locally compiled compiled version on 0.9.7-pre I no longer see the message. I guess that means it's time to release a new version of sipsak :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants