Releases: neuhalje/bouncy-gpg
Releases · neuhalje/bouncy-gpg
Key generation
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
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
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
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
- Add Concordion spec-test and tutorial
- Add website generated with hugo (wip)
- Support for key derivation use cases (--> https://github.com/neuhalje/presentation_content-encryption )
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
- Minor changes in build system
- Publication on jcenter
New API
- First release with new API
- Create CHANGELOG