GPG Assuan protocol usage

Alan Meekins alan.meekins at
Thu Jan 9 02:51:23 CET 2014

Ah thanks, that was the problem. Would be helpful if this
updated to reflect the correct syntax for future users.

Was just using socat for testing purposes. My system requires the lowest
latency and fewest memcpy's possible so if I continue with the socket
interface I will use it directly. Since posting I've come across the Qt
Cryptographic Architecture (qca) which looks to be a better approach for me
as I'm already developing in Qt.

Thanks again,

On Wed, Jan 8, 2014 at 4:09 AM, Werner Koch <wk at> wrote:

> On Wed,  8 Jan 2014 00:30, alan.meekins at said:
> >> D (genkey (rsa (nbits 4096)))
> Use
>    D (genkey (rsa (nbits 4:4096)))
> to match the S-expression syntax.  A leading digit denotes a length and
> thus you can't enter a number without its length.  Yes, this is a common
> pitfall.
> Instead of socat, I suggest the use of gpg-connect-agent (which even
> feature a simple script language).  If gpg-agent is installed on a
> system gpg-connect-agent is also available.  As an alternative you may
> also use the Assuan interface of GPGME (see gpa/src/cardman.c for
> examples).
> Salam-Shalom,
>    Werner
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140108/1d2fb13d/attachment.html>

More information about the Gnupg-users mailing list