Bouncy Gpg Versions Save

Make using Bouncy Castle with OpenPGP fun again!

release/v2.2.0

4 years ago

BouncyGPG now supports key generation!

  // Create a simple RSA KeyPair with 3072 bit keys and with a user-id for Juliet Capulet.
  // The KeyPair consists of a single RSA master key which is used for signing, encryption and certification.

    final KeyringConfig rsaKeyRing = BouncyGPG.createSimpleKeyring()
        .simpleRsaKeyRing(UID_JULIET, RsaLength.RSA_3072_BIT);

release/v2.1.2

5 years ago

Changes

  • Enh: Merge OSGI support by basdfish69
  • Enh: Add support for Java 11
  • Enh: SignaturesMissingException carries list of missing signatures
  • Doc: Minor documentation improvements
  • Tst: Improve test coverage
  • Dep: Update test & minor dependencies
  • Ref: Refactor argument checking into helper methods

API Changes

  • [non breaking] Signature verification now throws SignaturesMissingException containing the missing signatures.

release/v2.1.1

5 years ago

Add support to search for the whole UID instead of e-mail only.

To enable this new feature call "selectUidByAnyUidPart()":

   final InputStream plainIS = BouncyGPG.decryptAndVerifyStream()
        .withConfig(Configs.keyringConfigFromFilesForRecipient())
        .selectUidByAnyUidPart()  // << here
        .andRequireSignatureFromAllKeys("Sven Sender")
        ...

API CHANGE: Rfc4880KeySelectionStrategy no longer enforces to search for e-mail only. If you did not use Rfc4880KeySelectionStrategy directly this will not affect you unless you enable it by selectUidByAnyUidPart(). ByEMailKeySelectionStrategy provides the old Rfc4880KeySelectionStrategy behaviour.

release/v2.1.0

6 years ago

Non-breaking changes

  • Switch to APACHE2.0 license
  • Encrypt to multiple recipients
  • Finer grained control over key selection
  • New maven example
  • Improved test coverage
  • Bump to BC 1.59

Still pre-Alpha

Breaking API Changes

  • PGPHashAlgorithms / PGPSymmetricEncryptionAlgorithms / PGPCompressionAlgorithms: Encapsulate public final fields with getter
  • Removed ReencryptExplodedZipMultithreaded
  • Selection of keys was not compliant with RFC 4880. Probably this is non-breaking for most users. Use Pre202KeySelectionStrategy for old behaviour.

release/v2.0.1

6 years ago
  • Minor changes in build system
  • Publication on jcenter

release/v2.0.0

6 years ago
  • First release with new API
  • Create CHANGELOG