trying to use the public key functions
Glenn McGrath
bug1@optushome.com.au
Fri, 17 May 2002 07:11:56 +1000
On Fri, 17 May 2002 03:49:37 +1000
"Glenn McGrath" <bug1@optushome.com.au> wrote:
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iEYEABECAAYFAjzivCQACgkQqn3re3IvGu0knQCfem0zm2wCWYxNgTrsjmw8f5Se
> m7oAoKYonuIKxty8YWcZHTm+qo1A6oTa
> =msEe
> -----END PGP SIGNATURE-----
>
gpg --list-packets shows
:signature packet: algo 17, keyid AA7DEB7B722F1AED
version 4, created 1021492260, md5len 0, sigclass 00
digest algo 2, begin of digest 24 9d
hashed subpkt 2 len 5 (sig created 2002-05-15)
subpkt 16 len 9 (issuer key ID AA7DEB7B722F1AED)
data: [159 bits]
data: [160 bits]
I think i have to do something like
result = gcry_sexp_build(&key, NULL, "(public-key (dsa (p A) (y B) (q C)
(g D)");
where A, B, C and D are derived from the public key somehow.
Glenn