Skip to content

Releases: neuhalje/bouncy-gpg

Key generation

19 Jan 10:54
48e263b
Compare
Choose a tag to compare

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);

V 2.1.2 OSGI bundle and minor improvements

20 Dec 22:03
release/v2.1.2
fbff9da
Compare
Choose a tag to compare

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.

v2.1.1 Bugfix

09 Dec 21:32
release/v2.1.1
Compare
Choose a tag to compare

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.

v2.1.0

28 Mar 21:18
release/v2.1.0
Compare
Choose a tag to compare

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.

Publish on jcenter

26 Aug 22:07
Compare
Choose a tag to compare
  • Minor changes in build system
  • Publication on jcenter

New API

26 Aug 22:06
Compare
Choose a tag to compare
  • First release with new API
  • Create CHANGELOG