Commit Graph

1767 Commits

Author SHA1 Message Date
Paul Schaub 495ff6aa5d
Fix javadoc reference 2023-05-03 17:25:19 +02:00
Paul Schaub 88de47490b
SignatureValidator: Prevent NPE when no EmbeddedSignature subpacket is found 2023-05-03 17:24:16 +02:00
Paul Schaub 005b9d477a
KeyRingReader: Remove unused @throws IOException 2023-05-03 17:23:13 +02:00
Paul Schaub fb581f11c7
UserId.parse(): Prevent self-referencing javadoc 2023-05-03 17:20:02 +02:00
Paul Schaub 3cea985365
TeeBCPGInputStream: Annotate byte[] arg as @Nonnull 2023-05-03 17:19:18 +02:00
Paul Schaub 78cb2ec3d0
Do not catch and immediatelly rethrow exception 2023-05-03 17:16:56 +02:00
Paul Schaub 5c76f9046f
Turn empty catch block into test failure 2023-05-03 17:16:10 +02:00
Paul Schaub 7a194c517a
Remove KeyRingUtils.removeSecretKey() in favor of stripSecretKey() 2023-05-03 17:15:30 +02:00
Paul Schaub 09bacd40d1
SecretKeyRingEditor: referenceTime cannot be null anymore 2023-05-03 17:14:18 +02:00
Paul Schaub 21ae48d8c1
Use assert statements to flag impossible NPEs 2023-05-03 17:13:29 +02:00
Paul Schaub d05ffd0451
Make DateUtil null-safe 2023-05-03 16:11:06 +02:00
Paul Schaub 953206b4ed
Make more of the API null-safe by using @Nonnull/@Nullable 2023-05-03 16:03:50 +02:00
Paul Schaub 3b8a1b47d7
Add javadoc p-tags 2023-05-03 16:03:12 +02:00
Paul Schaub 1d26751b45
Remove unused KeyRingEditorTest 2023-05-03 15:59:21 +02:00
Paul Schaub 64c6d7a904
Annotate EncryptionOptions methods with @Nonnull 2023-05-03 14:38:52 +02:00
Paul Schaub 304350fe5c
Add p-tags to EncryptionOptions javadoc 2023-05-03 14:38:38 +02:00
Paul Schaub 15f6cc70b1
Add MessageMetadata.getRecipientKeyIds()
Fixes #376
2023-05-03 14:30:08 +02:00
Paul Schaub a8ab93a49a
SOP: GenerateKey with --profile=rfc4880 now generates RSA key with subkeys 2023-05-03 14:07:33 +02:00
Paul Schaub 8869d9bd78
Simplify key template methods by replacing String and UserID args with CharSequence 2023-05-03 13:51:59 +02:00
Paul Schaub 9c81137f48
Add template methods to generate RSA keys with primary and subkeys 2023-05-03 13:51:34 +02:00
Paul Schaub 671d45a911
PGPainless 1.5.2-rc2-SNAPSHOT 2023-05-01 10:15:24 +02:00
Paul Schaub de5926fc47
PGPainless 1.5.2-rc1 2023-05-01 10:12:37 +02:00
Paul Schaub 2e730a2c48
Update changelog 2023-05-01 10:10:50 +02:00
Paul Schaub 52fa7e4d46
OpenPgpMessageInputStream: Return -1 instead of throwing MalformedOpenPgpMessageException when calling read() on drained stream 2023-05-01 09:35:28 +02:00
Paul Schaub 558036c485
Update man pages 2023-04-27 15:23:37 +02:00
Paul Schaub eb45dee04f
rewriteManPages script: Remind to run
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings in sop repo
2023-04-27 15:22:43 +02:00
Paul Schaub f51685c126
Update changelog 2023-04-27 15:16:37 +02:00
Paul Schaub eb1ff27a90
Bump sop-java to 6.1.0 2023-04-27 15:15:42 +02:00
Paul Schaub 23fd630670
PGPainless 1.5.2-SNAPSHOT 2023-04-25 13:39:44 +02:00
Paul Schaub bf2bb31b71
PGPainless 1.5.1 2023-04-25 13:36:48 +02:00
Paul Schaub 699381238c
Update changelog 2023-04-25 13:28:38 +02:00
Paul Schaub 6f3f529534
Merge branch 'relaxDecryptionKeyConstraints' 2023-04-25 13:28:26 +02:00
Paul Schaub 0cb0885251
Relax constraints on decryption keys to improve interop with faulty, broken legacy clients that have been very naughty and need punishment 2023-04-25 13:28:07 +02:00
Paul Schaub d10841c57a
Add workflow for pull requests 2023-04-24 16:13:11 +02:00
Paul Schaub d5f3dc80bc
Update changelog 2023-04-18 19:00:33 +02:00
Paul Schaub e3bacdbe35
Introduce VerificationHelper class and export signature mode in decrypt operation 2023-04-18 18:53:50 +02:00
Paul Schaub 06c924d41d
Add tests for mode to DetachedSignTest 2023-04-18 18:43:56 +02:00
Paul Schaub b0974c6ade
Add more tests for inline-sign-verify roundtrips 2023-04-18 18:40:25 +02:00
Paul Schaub 2ec176e938
DetachedVerifyImpl: Export signature mode in Verification result 2023-04-18 18:39:52 +02:00
Paul Schaub 05968533a5
InlineVerifyImpl: Export signature mode in Verification result 2023-04-18 18:35:47 +02:00
Paul Schaub 9a0b60ac7e
Update quickstart document 2023-04-18 17:41:02 +02:00
Paul Schaub 36a52a3e34
PGPainless 1.5.1-SNAPSHOT 2023-04-17 16:37:37 +02:00
Paul Schaub 94a609127e
PGPainless 1.5.0 2023-04-17 16:35:17 +02:00
Paul Schaub d8f32b6689
Update changelog 2023-04-17 16:24:55 +02:00
Paul Schaub 3a3e193bb0
Bump bouncycastle to 1.73 2023-04-17 16:23:16 +02:00
Paul Schaub e465ae60a7
VersionImpl: Fix outdated method names 2023-04-17 16:22:54 +02:00
Paul Schaub 003423a165
Update changelog 2023-04-17 16:09:51 +02:00
Paul Schaub 676e7d166a
EncryptImpl: Rename default profile, add documentation 2023-04-17 16:06:45 +02:00
Paul Schaub 926e540016
Test fine-grained SOP spec version 2023-04-17 16:01:17 +02:00
Paul Schaub 3b1edb076c
Basic support for sop encrypt --profile=XXX 2023-04-17 16:01:17 +02:00