Commit Graph

55 Commits

Author SHA1 Message Date
Paul Schaub 5ec0008f8d
Fix order of issuer/target certificate in certification verification method 2023-07-12 17:05:38 +02:00
Paul Schaub da438eba2a
Fix index per key-id for invalidated keys 2023-07-12 17:05:38 +02:00
Paul Schaub 35a01a16da
Refactor signature checks 2023-07-12 17:05:38 +02:00
Paul Schaub c4b4c13d9b
Certification Revocations equate to tsig of 0/0 2023-07-12 17:05:38 +02:00
Paul Schaub 09fabd4608
Cleanup signature verification 2023-07-12 17:05:38 +02:00
Paul Schaub 8db8b76a26
Propagate referenceTime to the Network 2023-07-12 17:05:37 +02:00
Paul Schaub dc38d2764d
Move PGPDSL to pgpainless-wot testFixtures 2023-07-12 17:05:37 +02:00
Paul Schaub fdd0973a0b
Refactor package names 2023-07-12 17:05:37 +02:00
Paul Schaub 8c71afc250
Rename classes 2023-07-12 17:05:36 +02:00
Paul Schaub 9131696723
Fix NPE when encountering missing because expired cert 2023-07-12 17:05:36 +02:00
Paul Schaub f69d2d20df
WIP: Work on PGP-DSL 2023-07-12 17:05:36 +02:00
Paul Schaub f880fb94aa
Replace buildMap() call with associateWith() 2023-07-12 17:05:35 +02:00
Paul Schaub 34f706191d
KeyRingCertificateStore: Allow for multiple PGPPublicKeyRingCollections as input 2023-07-12 17:05:35 +02:00
Paul Schaub a0d206bb15
Move the API definition to wot-dijkstra 2023-07-12 17:05:34 +02:00
Paul Schaub d7bcfeedb1
Document WebOfTrust 2023-07-12 17:05:34 +02:00
Paul Schaub 03c586db9d
More refactoring for WebOfTrust 2023-07-12 17:05:34 +02:00
Paul Schaub 1b19ba8766
Refactor WebOfTrust class 2023-07-12 17:05:34 +02:00
Paul Schaub 73708f4a6f
Fix dependencies 2023-07-12 17:05:30 +02:00
Paul Schaub b3bf19a52b
Port more test vectors to kotlin 2023-07-12 17:05:30 +02:00
Paul Schaub e85da316ce
Port WebOfTrustTest to Kotlin 2023-07-12 17:05:30 +02:00
Paul Schaub d744e47023
Add README files 2023-07-12 17:05:05 +02:00
Paul Schaub d0ecff8722
Remove unused import 2023-07-12 17:03:57 +02:00
Paul Schaub bb63c0e3bd
Work on API structure and first baby steps of formatting the Authenticate output 2023-07-12 17:03:57 +02:00
Paul Schaub ea5d790091
Add empty lines to API classes 2023-07-12 17:03:57 +02:00
Paul Schaub b9c06788b3
Make WebOfTrust.LOGGER static 2023-07-12 17:03:54 +02:00
Paul Schaub 52927323b1
Add felix.pub and test for anomaly (wip) 2023-07-12 17:03:52 +02:00
Paul Schaub e2c5892452
Implement KeyRingCertificateStore 2023-07-12 17:03:52 +02:00
Paul Schaub ae92b01cbb
Remove pgpainless-core dependency from wot-dijkstra 2023-07-12 17:03:52 +02:00
Paul Schaub 630c263918
Base WebOfTrust on PGPCertificateStore instead of PGPCertificateDirectory 2023-07-12 17:03:51 +02:00
Paul Schaub 4f924c519c
Port WebOfTrust to Kotlin 2023-07-12 17:03:51 +02:00
Paul Schaub d9a5d6b926
Remove unnecessary braces from AuthenticateAPI 2023-07-12 17:03:51 +02:00
Paul Schaub aa854eea0c
Port CertificationFactory to kotlin 2023-07-12 17:03:51 +02:00
Paul Schaub 9befc759f5
Remove CertificateAuthority interface 2023-07-12 17:03:50 +02:00
Paul Schaub 9946f6bf83
Move API classes to kotlin source directory 2023-07-12 17:03:50 +02:00
Paul Schaub d3393017ed
Add module pgpainless-wot-cli 2023-07-12 17:03:50 +02:00
Paul Schaub 2922bc5bd6
Port wot-dijkstra Java classes to Kotlin 2023-07-12 17:03:49 +02:00
Paul Schaub c4ccfd672d
Remove unnecessary WebOfTrustCertificateStore class 2023-07-12 17:03:48 +02:00
Paul Schaub 643f2e5e34
Move Iterator classes to sugar packet 2023-07-12 17:03:48 +02:00
Paul Schaub 1a23c3849e
Fix comments 2023-07-12 17:03:48 +02:00
Paul Schaub 9f4b11174e
CertSynopsis: Change userId set to map with revocation states 2023-07-12 17:03:48 +02:00
Paul Schaub e065d99bec
Remove unnecessary fields from WebOfTrust class 2023-07-12 17:03:47 +02:00
Paul Schaub 6ec160835c
Allow WebOfTrustCertificateStore to be based on PGPCertificateDirectory 2023-07-12 17:03:47 +02:00
Paul Schaub ffae298142
Catch exceptions on malformed keys 2023-07-12 17:03:46 +02:00
Paul Schaub ab0835d176
Introduce CertificationFactory.
This is done in an attempt to minimize the number of BC/PGPainless dependencies in wot-dijkstra
2023-07-12 17:03:46 +02:00
Paul Schaub d163a2b0a6
It clicked for me; Simplified edge/reverseEdge finding 2023-07-12 17:03:46 +02:00
Paul Schaub 341d6fbecc
Make checkstyle happy 2023-07-12 17:03:45 +02:00
Paul Schaub d13d0b3ab4
A bit of documentation 2023-07-12 17:03:45 +02:00
Paul Schaub 4b81ee7307
Refactoring in an attempt to both understand the code and make it more readable 2023-07-12 17:03:45 +02:00
Paul Schaub 2b12e4fdb7
Dirty n hacky network population 2023-07-12 17:03:44 +02:00
Paul Schaub e1d3180e1e
Add toString() methods to WOT network classes 2023-07-12 17:03:44 +02:00