1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-06-26 05:24:49 +02:00
Commit graph

58 commits

Author SHA1 Message Date
Paul Schaub 111c84db97
Proper formatting for outputs 2023-07-13 16:53:35 +02:00
Heiko Schaefer 7d284722b9
XXX TMP SwotAuthenticateTest: adjust expected test output 2023-07-11 01:12:03 +02:00
Heiko Schaefer 2d23080cc7
Query: break out backwardPropagate(), keep semantics unchanged!
Use backwardPropagate() as a wrapper from authenticate()
2023-07-11 01:12:02 +02:00
Heiko Schaefer 17e654687f
Unit tests: Web of trust 'authenticate'
Ported from sequoia-wot:src/lib.rs
2023-07-11 01:12:02 +02:00
Heiko Schaefer 39603fa35d
Unit tests: Web of Trust 'backwardPropagate'
Ported from seqouia-wot
2023-07-11 01:12:02 +02:00
Paul Schaub 7dfb814b8a
Fix order of issuer/target certificate in certification verification method 2023-07-11 01:04:50 +02:00
Paul Schaub 41dfb269f1
Fix index per key-id for invalidated keys 2023-07-11 00:51:00 +02:00
Paul Schaub 7c202b6955
Refactor signature checks 2023-07-10 17:54:58 +02:00
Paul Schaub 74bccb6c82
Certification Revocations equate to tsig of 0/0 2023-07-10 17:46:32 +02:00
Paul Schaub e6daae2a27
Cleanup signature verification 2023-07-10 17:45:45 +02:00
Paul Schaub 7ee8048c34
Propagate referenceTime to the Network 2023-07-09 21:02:02 +02:00
Paul Schaub b6cd1ff13c
Move PGPDSL to pgpainless-wot testFixtures 2023-07-09 13:22:11 +02:00
Paul Schaub 89986af7f7
Refactor package names 2023-07-09 13:03:57 +02:00
Paul Schaub 404bf4d776
Rename classes 2023-07-09 13:01:13 +02:00
Paul Schaub 6f19f3a89e
Fix NPE when encountering missing because expired cert 2023-07-08 00:54:34 +02:00
Paul Schaub f2db1efa61
WIP: Work on PGP-DSL 2023-07-07 19:59:02 +02:00
Paul Schaub 4f2f54f4b3
Replace buildMap() call with associateWith() 2023-07-07 16:18:32 +02:00
Paul Schaub 99b47eafb6
KeyRingCertificateStore: Allow for multiple PGPPublicKeyRingCollections as input 2023-07-07 15:49:39 +02:00
Paul Schaub 8029d031bc
Move the API definition to wot-dijkstra 2023-07-07 15:41:17 +02:00
Paul Schaub 3d8840116c
Document WebOfTrust 2023-07-07 15:07:45 +02:00
Paul Schaub 50810e1d14
More refactoring for WebOfTrust 2023-07-07 14:43:13 +02:00
Paul Schaub 2e802c1f1e
Refactor WebOfTrust class 2023-07-07 14:22:45 +02:00
Paul Schaub 016c9dfc03
Port more test vectors to kotlin 2023-07-05 16:52:31 +02:00
Paul Schaub 8974c44b51
Port WebOfTrustTest to Kotlin 2023-07-04 16:34:29 +02:00
Paul Schaub 5dd6e08096
Remove unused import 2023-07-04 13:13:31 +02:00
Paul Schaub 96cfd71e60
Work on API structure and first baby steps of formatting the Authenticate output 2023-07-03 20:11:01 +02:00
Paul Schaub 5d15a18e6b
Add empty lines to API classes 2023-07-03 17:07:21 +02:00
Paul Schaub d2c768ab86
Make WebOfTrust.LOGGER static 2023-07-03 15:02:43 +02:00
Paul Schaub 68a548ac1d
Add felix.pub and test for anomaly (wip) 2023-06-30 14:10:22 +02:00
Paul Schaub af8b065469
Implement KeyRingCertificateStore 2023-06-29 21:07:42 +02:00
Paul Schaub cdac41ffa9
Remove pgpainless-core dependency from wot-dijkstra 2023-06-29 20:18:01 +02:00
Paul Schaub 98377b34f1
Base WebOfTrust on PGPCertificateStore instead of PGPCertificateDirectory 2023-06-29 19:23:40 +02:00
Paul Schaub e27882c539
Port WebOfTrust to Kotlin 2023-06-29 19:03:05 +02:00
Paul Schaub aa4bc7a155
Remove unnecessary braces from AuthenticateAPI 2023-06-29 18:04:52 +02:00
Paul Schaub 58c5fa4dd8
Port CertificationFactory to kotlin 2023-06-29 18:04:09 +02:00
Paul Schaub d9b5783e5e
Remove CertificateAuthority interface 2023-06-29 18:03:54 +02:00
Paul Schaub fb505548db
Move API classes to kotlin source directory 2023-06-29 18:02:45 +02:00
Paul Schaub d024dacabb
Add module pgpainless-wot-cli 2023-06-29 17:49:12 +02:00
Paul Schaub 9d3a9893f2
Port wot-dijkstra Java classes to Kotlin 2023-06-28 19:28:05 +02:00
Paul Schaub b8f77b4bf8
Remove unnecessary WebOfTrustCertificateStore class 2023-06-27 21:08:25 +02:00
Paul Schaub 31dd93fe77
Move Iterator classes to sugar packet 2023-06-27 20:57:02 +02:00
Paul Schaub f51eff30cf
Fix comments 2023-06-27 14:49:29 +02:00
Paul Schaub e016f5fb14
CertSynopsis: Change userId set to map with revocation states 2023-06-26 12:52:36 +02:00
Paul Schaub 57812efc9a
Remove unnecessary fields from WebOfTrust class 2023-06-25 20:17:28 +02:00
Paul Schaub b714fbe3b1
Allow WebOfTrustCertificateStore to be based on PGPCertificateDirectory 2023-06-25 14:10:10 +02:00
Paul Schaub 0ee913d59a
Catch exceptions on malformed keys 2023-06-25 14:08:25 +02:00
Paul Schaub c213760e6c
Introduce CertificationFactory.
This is done in an attempt to minimize the number of BC/PGPainless dependencies in wot-dijkstra
2023-06-25 13:40:36 +02:00
Paul Schaub 48ffc85ce5
It clicked for me; Simplified edge/reverseEdge finding 2023-06-25 12:53:31 +02:00
Paul Schaub 08d516c990
Make checkstyle happy 2023-06-24 17:21:43 +02:00
Paul Schaub 0ee3f0ed9a
A bit of documentation 2023-06-24 17:06:31 +02:00