Commit Graph

1796 Commits

Author SHA1 Message Date
Paul Schaub 1a9bb308ec
Bump checkstyle tool to 8.45.1 2023-06-05 21:12:04 +02:00
Paul Schaub df4ec7ff59
Fix branches of codeql workflow 2023-06-05 20:38:09 +02:00
Paul Schaub 31a6a60c41
Add Gradle Dependency Submission workflow 2023-06-05 20:31:24 +02:00
Paul Schaub 41e663e25b
Allow setting custom version header when encrypting/signing message 2023-06-05 20:18:06 +02:00
Paul Schaub add1b89019
Add test for MultiMap.putAll() 2023-06-05 19:44:58 +02:00
Paul Schaub 324302c536
Add MultiMap.flatten() 2023-06-05 19:44:47 +02:00
Paul Schaub 41d734f2db
ProviderFactory: Provide default implementation of _getProviderName() 2023-06-05 19:30:14 +02:00
Paul Schaub 96da3db2b8
Set AES-128 as default symmetric algorithm.
The crypto-refresh marks AES-128 as MUST implement.
2023-06-02 14:28:19 +02:00
Paul Schaub e1038a8bb3
Replace more occurrences of new Date().getTime() with System.currentTimeMillis() 2023-06-02 00:03:55 +02:00
Paul Schaub d25e7419c9
Replace new Date().getTime() with System.getCurrentTimeMillis() 2023-06-02 00:01:34 +02:00
Paul Schaub 528591f906
Key generation: Set default expiration periof of 5 years
Can be changed by calling 'keyRingBuilder.setExpirationDate(null);'
2023-06-01 23:43:41 +02:00
Paul Schaub be5562d273
Fix typo in feature name 2023-05-30 14:51:32 +02:00
Paul Schaub 55058d6070
Rename GNUPG features 2023-05-22 14:37:02 +02:00
Paul Schaub ec6fc810d4
Add missing accept rule to message format diagram 2023-05-16 16:54:03 +02:00
Paul Schaub 5cdd68c4cc
Add documentation to ListProfilesImpl 2023-05-16 16:49:50 +02:00
Paul Schaub 7d049d0ac4
Simplify KeyReader 2023-05-16 16:48:21 +02:00
Paul Schaub 5c11b8af08
Mark ArmoredInputStreamFactory methods as @Nonnull 2023-05-16 16:44:26 +02:00
Paul Schaub 772c0407b3
Mark ArmoredOutputStreamFactory methods as @Nullable 2023-05-16 16:43:53 +02:00
Paul Schaub 8b4dd0fc25
Annotate CollectionUtils methods with @Nullable, @Nonnull 2023-05-16 16:39:58 +02:00
Paul Schaub 126571a6cd
Document ProviderFactory 2023-05-16 16:34:57 +02:00
Paul Schaub d3ae02f137
Mark KeyRingReader.read*KeyRing() as @Nullable/@Nonnull 2023-05-16 16:26:52 +02:00
Paul Schaub 1bf9abbdaf
Add link to EdDSA spec 2023-05-16 16:19:20 +02:00
Paul Schaub 0805076392
Deprecate ElGamal key type 2023-05-16 16:16:42 +02:00
Paul Schaub 7234b42144
compileJava: Add --release = 8 2023-05-09 20:09:49 +02:00
Paul Schaub a369f1c103
Fix checkstyle 2023-05-09 19:07:07 +02:00
Paul Schaub 8fe3a7159d
Report PGPainless version in sop version --backend 2023-05-08 16:01:59 +02:00
Paul Schaub 1523497da4
Update changelog 2023-05-03 17:35:49 +02:00
Paul Schaub 92a5e559f8
Earlier catching of NPEs in tests 2023-05-03 17:26:21 +02:00
Paul Schaub e08505e07d
CertificateValidator: Skip revocation signatures not made by primary key 2023-05-03 17:25:59 +02:00
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