a22336a795
Create dedicated KeyException class for key-related exceptions.
2022-04-07 19:42:58 +02:00
6b3f37796c
Restructure dependencies and version.gradle
2022-04-07 19:40:56 +02:00
53017d2d38
Bump BC to 1.71
2022-04-07 19:40:39 +02:00
02d6d19aac
Update ECOSYSTEM
2022-04-06 11:37:31 +02:00
6e67895428
Add ECOSYSTEM.md
2022-04-05 17:01:15 +02:00
636fc63bc1
Add local.properties to .gitignore
2022-04-05 14:58:09 +02:00
8e45a2a7f6
PGPainless-1.1.6-SNAPSHOT
2022-04-05 14:51:26 +02:00
a7d56e3461
PGPainless 1.1.5
2022-04-05 14:48:44 +02:00
3245dff731
Update changelog
2022-04-05 14:43:14 +02:00
Péter Barabás
30c9ea254a
Fix XML comment
2022-04-05 14:36:58 +02:00
Péter Barabás
8c6813ce56
#266 Handle ClassCastException in signature.init calls
2022-04-05 14:36:58 +02:00
f6c6b9aded
Do not attempt to verify signatures made by external keys using primary key.
...
This aims at fixing #266 in combination with #267 .
2022-04-05 14:10:04 +02:00
0bce68d6ee
Add shortcut SigningOptions.addSignature() method
2022-04-04 20:18:15 +02:00
d0b070f0f3
Fix javadoc
2022-04-04 20:17:57 +02:00
e601f8dbda
In Encrypt example: Read keys from string
2022-04-04 19:49:28 +02:00
2065b4e4ed
Document planned removal of BCUtil.constantTimeAreEquals(char[], char[])
2022-04-04 13:08:24 +02:00
c8a1ca5b29
Make use of DateUtil.now() in test
2022-04-04 12:53:47 +02:00
2c86d8dfe4
Document various KeyRingSelectionStrategies
2022-04-04 12:49:00 +02:00
7ca9934cbe
Document KeyRingSelectionStrategy
2022-04-04 12:32:37 +02:00
bfbe03f9e0
Document SelectUserIds
2022-04-04 12:19:07 +02:00
4aaa242d64
Add javadoc to SignatureSubpacketsUtil
2022-04-04 10:40:57 +02:00
58dee0d970
Fix javadoc warnings
2022-04-02 18:56:05 +02:00
4bd01578fb
Fix javadoc generation
2022-04-02 18:14:17 +02:00
7eb2f5fb4d
Document how PGPainlessCLI works
2022-04-02 17:16:37 +02:00
6869c66937
Add TODOs to remove deprecated methods in 1.2.X
2022-04-02 17:12:12 +02:00
8ec86e6464
Rename KeyRingUtil.removeSecretKey() to stripSecretKey()
2022-04-02 17:03:38 +02:00
50bcb6a135
Fix changelog and change method signature
2022-04-02 16:18:12 +02:00
39382c7de6
Add annotations to SignatureGenerationStream constructor
2022-04-02 16:18:12 +02:00
131c0c6d03
Add javadoc header to SignatureGenerationStream
2022-04-02 16:18:12 +02:00
f8e66f4d61
Add ProducerOptions.applyCRLFEncoding()
...
Enabling it will automatically apply CRLF encoding to input data.
Further, disentangle signing from the encryption stream
2022-04-02 16:18:12 +02:00
ade07bde85
Update changelog
2022-03-30 16:43:23 +02:00
6bef376992
Fix signature generation with all format and signature type combinations
...
This comes at the cost of that we no longer CR/LF encode literal data before encryption/signing.
That means that applications that rely on PGPainless to do the CR/LF encoding must manually
do the encoding before feeding the message to PGPainless.
The newly introduced CRLFGeneratorStream has documentation on how to do that.
Fixes #264
2022-03-30 16:13:08 +02:00
c31fd7d5e0
SOP: Fix mapping of encryption format
2022-03-30 13:14:36 +02:00
9497cbaeb1
Update changelog
2022-03-30 12:50:29 +02:00
4782868bc1
SOP encrypt: match signature type when using --as= option
2022-03-30 12:49:26 +02:00
30a62daec9
PGPainless-1.1.5-SNAPSHOT
2022-03-30 12:28:37 +02:00
ccee24dd93
PGPainless 1.1.4
2022-03-30 12:26:50 +02:00
b0eb32d550
Fix checkstyle
2022-03-30 12:21:53 +02:00
87e6b044d9
Add EncryptionStream class description
2022-03-30 12:18:03 +02:00
a8fa501a7a
Update CHANGELOG
2022-03-30 12:08:29 +02:00
620deaa1f9
Deprecate ProducerOptions.setEncoding()
...
The reason is that values other than BINARY oftentimes cause issues
(see https://github.com/pgpainless/pgpainless/issues/264 ), and further
experts recommended to ignore the metadata of the LiteralData packet
and only produce with ('b'/0/) as metadata values.
2022-03-27 17:34:24 +02:00
1cb3e559b5
Eliminate removed 'm' StreamEncoding
2022-03-27 17:29:42 +02:00
82936c5499
Add investigative test for broken messages when using different data/sig encodings
2022-03-27 17:01:31 +02:00
80d97b1bc0
Fix malformed signature packets
2022-03-27 17:01:31 +02:00
8ff405d6ad
Add toString() to SessionKey
2022-03-24 14:16:13 +01:00
405c7225f6
Deprecate ProducerOptions.setForYourEyesOnly()
...
Use of this special file name is deprecated since at least crypto-refresh-05
2022-03-23 15:17:29 +01:00
aeb321b576
Add short project description to README
2022-03-23 13:40:14 +01:00
e8b03834cb
Annotate fromId(code) methods with Nullable and add Nonnull requireFromId(code) methods
2022-03-22 15:09:09 +01:00
16b0d0730e
Annotate and document ArmorUtils class
2022-03-22 14:17:35 +01:00
e89e0f216c
Annotate KeyRingUtils methods with Nullable and Nonnull
2022-03-22 13:20:36 +01:00