After recompiling the source from git.launchpad.net (same version)
fwknop succeeds without failure. No changes to the code.

What I did:

$ git clone https://git.launchpad.net/ubuntu/+source/fwknop ubuntu-fwknop
$ cd ubuntu-fwknop
$ git checkout applied/2.6.10-20.2build3
$ autoreconf --force --install
$ ./configure
$ make
$ sudo make install
$ fwknop -v -n spa_with_gnupg

One note: initially, configure failed because gpgme-config could not be
found. Apparently, the gpg packages no longer install this little tool.
The idea is that pkg-config should be used instead. As a workaround, I
created this small script:

$ cat /usr/local/bin/gpgme-config
#!/usr/bin/bash

set -e

OPTION=$1
PKG_CONFIG=/usr/bin/pkg-config

case $OPTION in
  --version)
    $PKG_CONFIG --modversion gpgme
    ;;
  --api-version)
    $PKG_CONFIG --variable=api_version gpgme
    ;;
  --libs)
    $PKG_CONFIG --libs gpgme
    ;;
  --cflags)
    $PKG_CONFIG --cflags gpgme
    ;;
  *)
    echo $(basename $0): unsupported option: $OPTION
    exit 1
esac

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131672

Title:
  fwknop-client: buffer overflow when using GPG encryption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fwknop/+bug/2131672/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to