Paul Schaub
de9a161252
Accept certification signatures using SHA-1 before 2023-02-01
...
This commit introduces a dedicated SignatureHashAlgorithmPolicy for certification signatures.
The default configuration will accept SHA-1 on sigs created before 2023-02-01.
2024-01-04 18:20:09 +01:00
Paul Schaub
495ff6aa5d
Fix javadoc reference
2023-05-03 17:25:19 +02:00
Paul Schaub
b36b5413e2
Fix isEncryptedFor()
2022-11-23 20:42:54 +01:00
Paul Schaub
27fd15a012
Update examples with new MessageMetadata class
2022-11-23 20:42:54 +01:00
Paul Schaub
c031ea9285
Remove empty newlines
2022-11-23 20:42:54 +01:00
Paul Schaub
03d04fb324
Tests: Replace usages of default algorithm policies with specific policies
2022-11-23 20:42:17 +01:00
Paul Schaub
dd26b5230d
Use newly introduced modernKeyRing(userId) method
2022-06-19 16:59:42 +02:00
Paul Schaub
0bce68d6ee
Add shortcut SigningOptions.addSignature() method
2022-04-04 20:18:15 +02:00
Paul Schaub
e601f8dbda
In Encrypt example: Read keys from string
2022-04-04 19:49:28 +02:00
Paul Schaub
9e0aa95a5a
Add documentation for the DecryptOrVerify examples
2022-03-16 21:29:34 +01:00
Paul Schaub
d4d29553ec
Add decryption example
2022-03-15 15:10:23 +01:00
feri
7a77d0847a
Support multiline comments in ProducerOption.setComment().
2022-02-24 17:46:45 +01:00
feri
928fa12b51
Add new ProducerOption setComment() for Ascii armored EncryptionStreams. ( #254 )
...
* Add new ProducerOption setComment() for Ascii armored EncryptionStreams.
2022-02-24 00:51:16 +01:00
Paul Schaub
b1bde161b4
Fix typos and wording
2021-12-28 13:53:25 +01:00
Paul Schaub
ce7b69269b
Various code cleanup
2021-12-28 13:32:50 +01:00
Paul Schaub
710f961984
Rework key modification API.
...
Fixes #225
2021-12-20 13:01:58 +01:00
Paul Schaub
073cf870d2
Fix NPE when attempting to decrypt GNU_DUMMY_S2K keys
2021-12-06 15:07:34 +01:00
Paul Schaub
91080f411d
Rework secret key protection
2021-11-20 20:19:22 +01:00
Paul Schaub
176574df50
Wip
2021-11-20 16:07:27 +01:00
Paul Schaub
04ada88188
Fix errors
2021-11-16 13:44:10 +01:00
Paul Schaub
03a350d279
Separate key generation from scratch and from templates in to buildKeyRing() and generateKeyRing()
2021-11-02 12:23:05 +01:00
Paul Schaub
59c9ec341e
Hide distinction between clearsigned and inline signed message verification
2021-11-02 12:12:29 +01:00
Paul Schaub
bd67d9c0fa
Rename EncryptionPurpose.STORAGE_AND_COMMUNICATION -> ANY
2021-11-02 11:30:44 +01:00
Paul Schaub
2d364d0939
Replace OpenPgpV4Fingerprint with OpenPgpFingerprint in examples
2021-10-29 20:08:11 +02:00
Paul Schaub
e390389c0a
Reuse compliance
2021-10-07 16:28:31 +02:00
Paul Schaub
526dc0caac
Add support for creating cleartext signed messages and add tests
2021-09-27 17:10:00 +02:00
Paul Schaub
f15f3a4e2a
Fix example use of ascii armoring
2021-09-23 18:06:54 +02:00
Paul Schaub
be47a96030
Further simplify the KeyRingBuilder API
2021-09-20 12:30:03 +02:00
Paul Schaub
21f424551b
Simplify KeySpecBuilder
2021-09-13 19:46:18 +02:00
Paul Schaub
311c842196
Revert introduction of StreamUtil
2021-07-31 20:40:31 +02:00
Paul Schaub
fc311fe781
Workaround for #159 : Avoid to prevent swallowing IOExceptions
2021-07-26 16:19:30 +02:00
Paul Schaub
c8a281d6a4
Move UTC timestamp methods to DateUtil class
2021-07-03 12:23:24 +02:00
Paul Schaub
c234e38ae2
Add key extraction and ascii armor examples
2021-07-01 17:37:30 +02:00
Paul Schaub
60cbcac58b
Fix test and use new decryption API
2021-06-26 18:41:02 +02:00
Paul Schaub
fc14a86d9c
Add user-id revocation example
2021-06-26 18:33:41 +02:00
Paul Schaub
f6ffc4c28d
Add examples for encryption and decryption of messages
2021-06-26 18:33:41 +02:00
Paul Schaub
9b34664ba2
Add example for unlocking secret keys
2021-06-26 18:33:41 +02:00
Paul Schaub
8d05eea92d
Add documentation to ManagePolicy
2021-06-26 18:33:41 +02:00
Paul Schaub
ac8fb5ad6b
Add ManagePolicy example
2021-06-26 18:33:41 +02:00
Paul Schaub
4a0ef1ac6b
Add ConvertKeys example
2021-06-26 18:33:41 +02:00
Paul Schaub
3de076eb31
Add modify keys tests
2021-06-26 18:33:41 +02:00
Paul Schaub
5c2910f6c1
Wip
2021-06-26 18:33:41 +02:00
Paul Schaub
0958915b4c
Add examples for key generation and parsing
2021-06-26 18:33:41 +02:00