RegEx for ASCII public keys?

David Shaw dshaw at
Tue May 23 00:29:30 CEST 2006

On Sat, May 20, 2006 at 05:40:42PM +0200, Michael Lampard wrote:
> Hy,
> is there some kind of regular expression for ASCII public keys (*) in GnuPG? If so, where can I find it?
> Greetings
> Michael
> (*) like the ones I get by "gpg --armor --export <key>"

You could probably cook one up with the information in RFC-2440.
Basically, they're base64 data apart from the headers.


More information about the Gnupg-devel mailing list