Commit Graph

2032 Commits

Author SHA1 Message Date
Paul Schaub 0325122a31
Separate EdgeComponents in Certifications and Delegations 2023-07-17 12:38:53 +02:00
Heiko Schaefer cee061d01c
Implement WoT algorithm 2023-07-16 17:02:16 +02:00
Heiko Schaefer 389c99cf1b
Add dependency on slf4j 2023-07-16 13:07:17 +02:00
Heiko Schaefer db89676784
Add ForwardPointer type 2023-07-16 13:07:17 +02:00
Heiko Schaefer ec9753ad71
Implement Cost 2023-07-16 13:07:17 +02:00
Heiko Schaefer 71f859af9b
Implement PairPriorityQueue 2023-07-16 13:07:17 +02:00
Heiko Schaefer 9560270386
Add package-info.java for org.pgpainless.wot.dijkstra 2023-07-16 13:07:17 +02:00
Paul Schaub 1de2e253d8
Add timestamps and certificate information for some test vectors 2023-07-16 01:49:34 +02:00
Heiko Schaefer ba133cfc7d
Path: adjust cycle detection to match our Path output style 2023-07-15 22:53:11 +02:00
Heiko Schaefer 65ff597f58
Depth: change internal representation and API, implement Comparable<Int> 2023-07-15 22:53:11 +02:00
Heiko Schaefer 95f5f58843
Paths: add "items" getter 2023-07-15 22:53:11 +02:00
Heiko Schaefer c2b9017b5d
Implement Root, Roots 2023-07-15 22:53:11 +02:00
Paul Schaub 34e5a96fce
Cover Fingerprint 2023-07-15 17:30:09 +02:00
Paul Schaub bdff2c5053
Remove unused method from Network.Builder class 2023-07-15 17:27:38 +02:00
Paul Schaub 8aa3df5878
100% coverage of RegexSet class 2023-07-15 17:27:17 +02:00
Paul Schaub 31a7a822ac
Add Sugar file containing utility scope functions 2023-07-15 16:58:08 +02:00
Paul Schaub 2db259f00d
Experiment with a general CLI test suite 2023-07-14 19:22:33 +02:00
Paul Schaub 688b13fdc4
Add sequoia-wot-vectors module 2023-07-14 17:42:47 +02:00
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 408544a11c
Move EdgeComponent test constructor to NetworkDSL 2023-07-12 17:05:37 +02:00
Paul Schaub 0be42a49e7
Remove unused import 2023-07-12 17:05:37 +02:00
Paul Schaub 13e58f75d6
Move NetworkDSL to testFixtures sources so we can reuse it in pgpainless-wot 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 3cd0718416
More CLI work 2023-07-12 17:05:36 +02:00
Paul Schaub ee9d27bef2
Work on CLI 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 7a1df02920
more DSL 2023-07-12 17:05:35 +02:00
Paul Schaub dc5d6fca51
Diabetes levels of DSL and sugar 2023-07-12 17:05:35 +02:00
Paul Schaub fce8634e4e
Work on Network 2023-07-12 17:05:35 +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 b1f33080e0
Rename API package 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 f13f310f6b
Bump cert-d-java and pgpainless-cert-d to 0.2.2 2023-07-12 17:05:34 +02:00
Heiko Schaefer 3a4c35dc2a
Comment typo fix 2023-07-12 17:05:34 +02:00
Heiko Schaefer e08ad71117
Path: Allow public get access for root and residualDepth 2023-07-12 17:05:33 +02:00
Heiko Schaefer 31e7704f89
Depth: Add fun value() to get the raw value 2023-07-12 17:05:33 +02:00
Heiko Schaefer 7032fe4a97
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-12 17:05:33 +02:00
Heiko Schaefer d413506c89
Network: toString formatting fix 2023-07-12 17:05:33 +02:00