Commit Graph

2048 Commits

Author SHA1 Message Date
Paul Schaub eb0ff55a90
New test case architecture 2023-07-17 18:07:44 +02:00
Paul Schaub edca8574af
Fix SQWOTFormatter 2023-07-17 18:07:30 +02:00
Paul Schaub dd1bbcd47f
Add suitable TestCase architecture 2023-07-17 16:43:35 +02:00
Paul Schaub 71dcf000ef
Fix swapped 'binding' and 'certificate' in formatter 2023-07-17 16:43:12 +02:00
Paul Schaub ae8cf33a9e
Merge remote-tracking branch 'hkos/heiko/tests' into wot 2023-07-17 13:30:05 +02:00
Paul Schaub 81a30aabcd
Work on SQWOTFormatter 2023-07-17 13:29:54 +02:00
Heiko Schaefer 077641c803
Adjust expected test result, and explain the difference 2023-07-17 13:25:29 +02:00
Heiko Schaefer 80a95684d8
Adjust expected test result (for self-signed root path) 2023-07-17 13:24:53 +02:00
Heiko Schaefer 75a514756b
Adjust test: adjust expected values in Auth test 2023-07-17 13:14:49 +02:00
Heiko Schaefer a811c96576
Port authenticate() test 2023-07-17 13:14:40 +02:00
Heiko Schaefer 898d529014
Port backwardPropagate() tests 2023-07-17 13:14:40 +02:00
Heiko Schaefer b8bf7872a6
Normalize constant naming format 2023-07-17 13:11:50 +02:00
Heiko Schaefer 90a915cedf
ArtifactVectors: set now() as default reference time 2023-07-17 13:11:49 +02:00
Paul Schaub c6d5a5434a
Implement API and CLI 2023-07-17 13:00:22 +02:00
Paul Schaub 5f447dc9d5
Merge remote-tracking branch 'hkos/heiko/algo' into wot 2023-07-17 12:47:39 +02:00
Paul Schaub c8e84e6245
Remove superfluous overriding t0 in inherited Cliques test 2023-07-17 12:47:04 +02:00
Heiko Schaefer 1861287703
Move WoT algorithm implementation to the query package 2023-07-17 12:40:33 +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