RE: [dev-crypto-csharp] To Fix SecureRandom security flaws (and ThreadedSeedGenerator)

2014-08-05 Thread Edward Ned Harvey (bouncycastle)
> From: Peter Dettman [mailto:peter.dett...@bouncycastle.org] > Sent: Tuesday, August 5, 2014 7:53 AM > > Hi Edward, > Yes, it's up to me! I haven't had a chance to review this whole thread of > email > yet, but github is definitely the place to add pull requests, multiple fine- > grained PRs pre

Re: [dev-crypto-csharp] Where and How do I code --recipient in BouncyCastle OpenPgp class?

2014-08-05 Thread Jeff Stedfast
Oops, I meant to specifically point you at the following line: https://github.com/jstedfast/MimeKit/blob/master/MimeKit/Cryptography/OpenPgpContext.cs#L341 GetPublicKey() is the core logic for doing PgpPublicKey lookups by iterating over the keys within a public keyring. Jeff On Tue, Aug 5, 20

RE: [dev-crypto-csharp] Where and How do I code --recipient in BouncyCastle OpenPgp class?

2014-08-05 Thread Williams, Twila
Thanks Jeff, I will try it and let you know. From: Jeff Stedfast [mailto:j...@xamarin.com] Sent: Tuesday, August 05, 2014 10:23 AM To: Williams, Twila Cc: dev-crypto-csharp@bouncycastle.org Subject: Re: [dev-crypto-csharp] Where and How do I code --recipient in BouncyCastle OpenPgp class? Hi Twi

Re: [dev-crypto-csharp] Where and How do I code --recipient in BouncyCastle OpenPgp class?

2014-08-05 Thread Jeff Stedfast
Hi Twila, Bouncy Castle's PGP implementation has no way of looking up recipients based on a name, it needs a PgpPublicKey to encrypt to. That said... I've implemented a higher-level library that uses Bouncy Castle's PGP code to encrypt streams to any number of recipients using the GnuPG keyrings

[dev-crypto-csharp] Where and How do I code --recipient in BouncyCastle OpenPgp class?

2014-08-05 Thread Williams, Twila
This is how I do it command line, but I need to code this in OpenPgp class: C:\Program Files\PGP Corporation\PGP Command Line>pgp --encrypt --armor SunnyBrook_2014.zip --recipient " Mary Poppins" --output SunnyBrook.zip.pgp. Thanks in Advance, Twila The v

Re: [dev-crypto-csharp] To Fix SecureRandom security flaws (and ThreadedSeedGenerator)

2014-08-05 Thread Peter Dettman
Oops, forgot the list... Hi Edward, Yes, it's up to me! I haven't had a chance to review this whole thread of email yet, but github is definitely the place to add pull requests, multiple fine-grained PRs preferred over monolithic changes when possible. There seem to be serious concerns raised