1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-16 08:34:53 +02:00
Commit graph

51 commits

Author SHA1 Message Date
Paul Schaub 741d72eadc
Document nature of tests in pgpainless-sop 2024-03-30 19:20:12 +01:00
Paul Schaub 0b7511a223
Remove tests for armor --label 2024-03-30 19:07:12 +01:00
Paul Schaub 3ac273757a
Bump sop-java to 10.0.0-SNAPSHOT and implement sopv interface subset 2024-03-24 10:52:15 +01:00
Paul Schaub 1c10dd5bce
Adapt changes from sop-java 8.0.0 2023-11-15 13:40:22 +01:00
Paul Schaub 1b7157a548
When testing support for RFC4880 profile, use RSA keys 2023-06-12 14:41:32 +02:00
Paul Schaub ea9b0d68fb
SOP: Test profile support of encrypt subcommand 2023-06-12 14:37:33 +02:00
Paul Schaub 08ce7c099c
Test list-profiles of encrypt subcommand 2023-06-12 14:28:53 +02:00
Paul Schaub 2367674151
SOP: List profiles of null command throws 2023-06-12 14:27:08 +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 eb1ff27a90
Bump sop-java to 6.1.0 2023-04-27 15:15:42 +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 e465ae60a7
VersionImpl: Fix outdated method names 2023-04-17 16:22:54 +02:00
Paul Schaub 926e540016
Test fine-grained SOP spec version 2023-04-17 16:01:17 +02:00
Paul Schaub f3a4a01d19
Add basic tests for new functionality 2023-04-14 16:18:15 +02:00
Paul Schaub ab6b6ca2e7 Add regression test for #351 2023-01-09 16:56:05 +01:00
Paul Schaub 2d46fb18f7 SOP: Allow generation of keys without user-ids 2022-12-15 18:04:59 +01:00
Paul Schaub 4f435a0fa0 Fix parameter check for DSA keys
Fixes #345
2022-12-15 18:04:34 +01:00
Paul Schaub 2c7801b759 Add MatchMakingSecretKeyRingProtectorTest 2022-11-23 20:42:54 +01:00
Paul Schaub 6dcc1e68cd Fix expected exception in roundtrip test 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 86b06ee5e3 SOP: Hide armor version header by default 2022-11-11 13:46:43 +01:00
Paul Schaub 48005da7f3 SOP : Do not armor already-armored data. 2022-11-11 13:46:40 +01:00
Paul Schaub 14531f0050
Make sop decrypt throw for unencrypted data 2022-06-23 11:47:48 +02:00
Paul Schaub efc0cb357b
EncryptDecryptRoundTripTest: make passphrase constant 2022-06-23 11:47:20 +02:00
Paul Schaub 07f9c3ceef
Fix decrypt no signatures test 2022-06-23 10:30:16 +02:00
Paul Schaub d64e749f22
Fix sop encrypt --sign-with allowing for protected keys 2022-06-19 17:50:31 +02:00
Paul Schaub 5375cd454f Implement inline-detach for 3 different types of input 2022-06-19 16:59:42 +02:00
Paul Schaub 2d60650cc6 Progress on SOP04 support 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 9a545a2936 Wip: SOP 4 2022-06-19 16:59:42 +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 c55fd2e552 Implement decryption with - and access of session keys 2021-12-02 12:42:02 +01:00
Paul Schaub 15736586dd
SOP: Add convenience methods to deal with byte arrays 2021-10-10 16:34:17 +02:00
Paul Schaub e390389c0a Reuse compliance 2021-10-07 16:28:31 +02:00
Paul Schaub 620959abc6
Some more pgpainless-sop tests 2021-10-04 16:28:56 +02:00
Paul Schaub 637bd18ca6
Add ArmorTest 2021-10-04 16:03:24 +02:00
Paul Schaub d170138ea8
Add test for GenerateKeyImpl 2021-10-04 15:02:28 +02:00
Paul Schaub f68779d8a5
Add tests for pgpainless-sop 2021-08-30 17:15:11 +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
Paul Schaub bd418299b0
Tests for SOP armor and dearmor commands 2021-07-01 18:45:07 +02:00
Paul Schaub 19ec715461 Revert "Add test for PGPainlessCLI main class"
This reverts commit af6fe0aaf7.
2021-05-29 14:19:32 +02:00
Paul Schaub af6fe0aaf7
Add test for PGPainlessCLI main class 2021-05-29 14:03:27 +02:00
Paul Schaub b38bcf042a
Add SOP sign/verify test 2021-05-28 22:16:52 +02:00
Paul Schaub 3cd64b61ca
Fix SOP encrypt-decrypt test 2021-05-25 16:25:22 +02:00
Paul Schaub 7bd12fe5d4
Improve error handling in sop tests 2021-03-05 14:43:13 +01:00
Paul Schaub 24c0cd8a96
SOP: Properly return error codes to the caller, error code 37 for invalid input args 2021-03-05 14:15:54 +01:00
Paul Schaub 6b1a740b9e
Add tests for SOP 2021-01-23 01:17:30 +01:00
Paul Schaub 10f1650d06
Fix dummy test whitespace 2021-01-18 18:43:39 +01:00