nils-ohlmeier/sipsak

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

tbals opened this issue · 2 comments

tbals commented

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

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.

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 :)