gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnutls-dev] [PATCH] Fixing OpenPGP keyring import (again)


From: Ludovic Courtès
Subject: Re: [gnutls-dev] [PATCH] Fixing OpenPGP keyring import (again)
Date: Mon, 14 May 2007 17:54:20 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Hi,

Timo Schulz <address@hidden> writes:

> To make sure I understand you. You try to check than an
> armored key file is correctly formatted and contains
> valid openpgp keys?

The test case I posted, `keyring.c', only checks whether a raw keyring
can be imported.  It would be nice to augment the test so that it checks
whether ASCII-armored keyrings can be imported as well (i.e., passing
`GNUTLS_OPENPGP_FMT_BASE64' to `gnutls_openpgp_keyring_import ()').

To that end, we need an ASCII-armored keyring.  I was able to create one
with GPG and to load it with `gnutls_openpgp_keyring_import ()', but I
did not managed to get GPG to show me its contents, until Werner Koch
showed how to do it.

The issue now is that "gpg --export -a < ./keyring.gpg > ./keyring.asc"
includes my own keyring (from `~/.gnupg/pubring.gpg') into its output.

Thanks,
Ludovic.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]