Commit Graph

49 Commits

Author SHA1 Message Date
Paul Schaub 0b7511a223
Remove tests for armor --label 2024-03-30 19:07:12 +01:00
Paul Schaub d707ecd20e
Disable now broken test caused by parsing certificates from secret keys 2023-07-07 10:44:16 +02:00
Paul Schaub 7f5bc91f6b
Add tests for ListProfilesCmd 2023-06-13 15:52:20 +02:00
Paul Schaub d9ab91516d
Add encrypt-decrypt roundtrip test for rfc4880 profile to cli tests 2023-06-13 15:43:48 +02:00
Paul Schaub 8fe3a7159d
Report PGPainless version in sop version --backend 2023-05-08 16:01:59 +02:00
Paul Schaub eb1ff27a90
Bump sop-java to 6.1.0 2023-04-27 15:15:42 +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 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 926e540016
Test fine-grained SOP spec version 2023-04-17 16:01:17 +02:00
Paul Schaub b58861635d
Add some missing javadoc 2023-01-16 19:38:52 +01:00
Paul Schaub 9919bbf013
Enable test for reading broken keys in SOP 2022-11-24 22:20:02 +01:00
Paul Schaub 6926cedf61 Fix compilation errors and simplify LayerIterator by introducing Packet interface 2022-11-23 20:42:54 +01:00
Paul Schaub a19fc9ebda Add tests for inline-detach 2022-11-23 20:42:17 +01:00
Paul Schaub ab82a638cc Add tests for inline-sign 2022-11-23 20:42:17 +01:00
Paul Schaub 75c39c2fde Add tests for inline-verify 2022-11-23 20:42:17 +01:00
Paul Schaub 508864c4ff Add test for inline-sign --as=text 2022-11-23 20:42:17 +01:00
Paul Schaub ce929fd055 Add inline-verify test for message without verifiable signatures 2022-11-23 20:42:17 +01:00
Paul Schaub a9014f1985 Add disabled test for broken data during dearmor 2022-11-23 20:42:17 +01:00
Paul Schaub b9f985a84c Add tests for SOP decrypt 2022-11-23 20:42:17 +01:00
Paul Schaub de76f4b3a9 Fix indentation for CLI tests 2022-11-23 20:42:17 +01:00
Paul Schaub b9152d5cde SOP: Add test to ensure that armoring already-armored data is idempotent 2022-11-23 20:42:17 +01:00
Paul Schaub 90c3a01577 Add test to verify proper functionality of MatchMakingSecretKeyRingProtector 2022-11-23 20:42:17 +01:00
Paul Schaub 86c7229172 Do not reject bnacksig signatures when they predate subkey binding date
Fixes #334

SOP verify: force data to be non-openpgp data

Update changelog

SOP: Unify key/certificate reading code

Fix key/password matching in SOPs detached sign command

Rework CLI tests

update changelog

PGPainless 1.3.11

PGPainless 1.3.12-SNAPSHOT

Merge branch 'release/1.3'
2022-11-23 20:42:17 +01:00
Paul Schaub 5524596082 Add more tests for sop code 2022-11-23 20:42:17 +01:00
Paul Schaub 243d64fcb4 Bump sop-java to 4.0.5 and adopt changes (--as=clearsigned) 2022-11-11 13:46:43 +01:00
Paul Schaub 858f8e00f3
Rework CLI tests 2022-11-09 22:02:16 +01:00
Paul Schaub b23a1d77a3
Bump sop-java version to 4.0.1 and override executable name 2022-08-04 14:05:12 +02:00
Paul Schaub cc9af93e75
Fix command usage strings not being picked up due to renamed parent command 2022-07-23 01:16:28 +02:00
Paul Schaub 3f16c54867 Create test util to write data to temp file 2022-06-19 16:59:42 +02:00
Paul Schaub 7074ff5f2f Rename command tests and add generate-key test for encrypted keys 2022-06-19 16:59:42 +02:00
Paul Schaub a3b2070e76 Rename test and reference exit codes directly 2022-06-19 16:59:42 +02:00
Paul Schaub 53df487e59 Adopt changes from SOP-Java and add test for using incapable keys 2022-06-19 16:59:42 +02:00
Paul Schaub 0b69e18715 Experimental support for inline-sign, inline-verify 2022-06-19 16:59:42 +02:00
Paul Schaub 7eb2f5fb4d
Document how PGPainlessCLI works 2022-04-02 17:16:37 +02:00
Paul Schaub 1cb49f4b12 Update SOP implementation to the latest spec version
See https://datatracker.ietf.org/doc/html/draft-dkg-openpgp-stateless-cli-03
2022-01-15 02:46:41 +01:00
Paul Schaub e96d668ee2 Clean up code 2021-12-28 12:18:51 +01:00
Paul Schaub fae5cd0efe
SOP: Fix signing using key with missing signing key 2021-12-02 15:10:53 +01:00
Paul Schaub a9a61bc799
Improve library usage of slf4j and logback.
Logback-classic is now a test dependency and is additionally declared as OPTIONAL runtime dependency.
Applications that don't want to use logback can now easily disable it by not explicitly depending on it.
2021-10-29 20:28:14 +02:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub 1a0635c71e
detach-inband-signature-and-message: test --no-armor 2021-09-07 17:30:40 +02:00
Paul Schaub bc20a14588
Add test for detach-inband-signature-and-message 2021-09-07 16:44:16 +02:00
Paul Schaub 1124c6fd15 Wip: Configure logback logging 2021-08-26 15:03:20 +02:00
Paul Schaub 4e83281213 Wip: Remove allowNested, add FileUtil 2021-08-23 14:26:17 +02:00
Paul Schaub 788c82531e Wip: Adopt changes from the SOP specification version 2 2021-08-23 14:26:17 +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 10bb033e40
Set executable name for pgpainless-cli 2021-07-23 21:02:58 +02:00
Paul Schaub 8cf5347b52 Base PGPainlessCLI on new sop-java module
* Rename pgpainless-sop -> pgpainless-cli
* Introduce sop-java (implementation-independent SOP API)
* Introduce sop-java-picocli (CLI frontend for sop-java)
* Introduce pgpainless-sop (implementation of sop-java using PGPainless)
* Rework pgpainless-cli (plugs pgpainless-sop into sop-java-picocli)
2021-07-15 17:03:56 +02:00