Qt security (Re: GPG Assuan protocol usage)

2014-01-15 Thread Bernhard Reiter
On Thursday 09 January 2014 at 14:02:05, Werner Koch wrote: . 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. You may want to view Ilja van Sprundel's lecture X security  

GPG Assuan protocol usage

2014-01-08 Thread Alan Meekins
Hi gpg-ers, I'm interested in utilizing GnuPG in software that I'm writing and it seems that communicating with the gpg-agent over a unix socket using the Assuan protocol is best suited for my use case but am open to other options if there are better approaches. My problem lies in getting the

Re: GPG Assuan protocol usage

2014-01-08 Thread Werner Koch
On Wed, 8 Jan 2014 00:30, alan.meek...@gmail.com 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

Re: GPG Assuan protocol usage

2014-01-08 Thread Alan Meekins
Ah thanks, that was the problem. Would be helpful if this pagehttp://www.gnupg.org/documentation/manuals/gnupg-devel/Agent-GENKEY.html#Agent-GENKEYwere updated to reflect the correct syntax for future users. Was just using socat for testing purposes. My system requires the lowest latency and