Re: [PGP] API sketch

2005-05-31 Thread Stefan Bodewig
On Thu, 19 May 2005, Brett Porter [EMAIL PROTECTED] wrote: Thanks Stefan - feedback inline. Oh my time flies when you are having fun, not. Sorry for the delay (again). These all look fine for most uses, but I would like a default implementation that builds on something like this:

Re: [PGP] API sketch

2005-05-31 Thread Stefan Bodewig
On Sun, 29 May 2005, Dave Brondsema [EMAIL PROTECTED] wrote: It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. I'd prefer to have fetch key and add key to keyring as separate activities -

Re: [PGP] API sketch

2005-05-30 Thread robert burrell donkin
On Sun, 2005-05-29 at 23:41 -0400, Dave Brondsema wrote: It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. Just verifying the signature without showing who's key created it (which

RE: [PGP] API sketch

2005-05-30 Thread Noel J. Bergman
robert burrell donkin wrote: Dave Brondsema wrote: It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. automatically fetching a public key from a server and then presenting the name

Re: [PGP] API sketch

2005-05-30 Thread Dave Brondsema
robert burrell donkin wrote: On Sun, 2005-05-29 at 23:41 -0400, Dave Brondsema wrote: It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. Just verifying the signature without showing who's

RE: [PGP] API sketch

2005-05-30 Thread robert burrell donkin
On Mon, 2005-05-30 at 11:18 -0400, Noel J. Bergman wrote: robert burrell donkin wrote: Dave Brondsema wrote: It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. automatically

RE: [PGP] API sketch

2005-05-30 Thread Noel J. Bergman
robert burrell donkin wrote: Noel J. Bergman wrote: You might want to involve Ben Laurie in this discussion. that'd be great. what's the best way to organise this? Well, cc'ing him as I've done would be one way to invite Ben to participate. :-) And I'll add that I've already posted URLs to

Re: [PGP] API sketch

2005-05-29 Thread Brett Porter
Any more thoughts on this? Brett Porter wrote: Thanks Stefan - feedback inline. Stefan Bodewig wrote: /** @param keyId may be null to specify the default key */ void sign(InputStream data, OutputStream signedOutput, String keyId, KeyRing keyRing, boolean asciiArmor) throws PGPException;

Re: [PGP] API sketch

2005-05-29 Thread Dave Brondsema
It would be useful, I think, to get a keyid from a signature, fetch and update keys from a keyserver, and get names and email addresses from a public key. Just verifying the signature without showing who's key created it (which depends on the above functionality) doesn't do a whole lot of good.

[PGP] API sketch

2005-05-18 Thread Stefan Bodewig
Sorry for keeping quiet after the first email, but I've been even more busy than I expected. So far I don't see any reason to require a JDK 1.2. Looking through the immediate needs for Ant and Maven, we'd need something like interface Foo { /** @param keyId may be null to specify the

Re: [PGP] API sketch

2005-05-18 Thread Brett Porter
Thanks Stefan - feedback inline. Stefan Bodewig wrote: /** @param keyId may be null to specify the default key */ void sign(InputStream data, OutputStream signedOutput, String keyId, KeyRing keyRing, boolean asciiArmor) throws PGPException; /** @param keyId may