Commit Graph

1977 Commits

Author SHA1 Message Date
Paul Schaub 8c76753eea
Fix DSL extension constructor names 2023-07-09 12:05:43 +02:00
Paul Schaub 9183eeb8e6
Move Network DSL to testFixtures so we can reuse it in pgpainless-wot tests 2023-07-09 12:03:58 +02:00
Paul Schaub 7ee0a41a6a
Some more refactoring and test fixing 2023-07-09 11:55:53 +02:00
Paul Schaub 73f0976857
Refactoring - package names
Move Query, PairPriorityQueue, Root and Roots to wot.query
Move other classes in .sq to wot.network
Move filter package to query.filter
2023-07-09 11:13:14 +02:00
Paul Schaub 3c4088a89e
Refactor - Renaming
CertSynopsis = Node
Certification = Edge
CertificationSet = EdgeSet
2023-07-09 11:05:09 +02:00
Heiko Schaefer dd4e44b8f0
Ported unit tests 2023-07-09 10:54:25 +02:00
Heiko Schaefer 2f8aafa6d3
TMP/UNDO: make backwardPropagate() public, for unit tests 2023-07-09 10:54:25 +02:00
Heiko Schaefer 84a7469d4f
Add test for Cost 2023-07-09 10:54:25 +02:00
Heiko Schaefer 612ade03c3
Algorithm port from Rust 2023-07-09 10:54:25 +02:00
Heiko Schaefer ac2b815e3a
Implementation of Filters 2023-07-09 10:54:24 +02:00
Heiko Schaefer ea5188ad61
Add dependency on slf4j 2023-07-09 10:54:24 +02:00
Heiko Schaefer cf3843c589
Implement PairPriorityQueue wrapper 2023-07-09 10:54:24 +02:00
Heiko Schaefer 9515eb0934
Implement Root, Roots 2023-07-09 10:54:24 +02:00
Heiko Schaefer 8f9651e8fd
Add package-info.java for org.pgpainless.wot.dijkstra 2023-07-09 10:54:24 +02:00
Heiko Schaefer d6c8df4f46
Add dependency on kotlin-test-junit5 2023-07-09 10:54:23 +02:00
Paul Schaub 57b2f68c63
More CLI work 2023-07-08 02:05:07 +02:00
Paul Schaub cdd5ba15a0
Work on CLI 2023-07-08 00:54:58 +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 8ed588c23e
more DSL 2023-07-07 19:20:07 +02:00
Paul Schaub 11d868dc27
Diabetes levels of DSL and sugar 2023-07-07 18:49:00 +02:00
Paul Schaub 9d6ae1c0bb
Work on Network 2023-07-07 16:37:29 +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 7083045067
Rename API package 2023-07-07 15:42:04 +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 31a0151b55
Bump BC to 1.75 2023-07-07 13:11:50 +02:00
Paul Schaub eb819dd73d
Bump cert-d-java and pgpainless-cert-d to 0.2.2 2023-07-07 12:24:18 +02:00
Paul Schaub 9844aa3bd2
Disable now broken test caused by parsing certificates from secret keys 2023-07-06 16:39:35 +02:00
Paul Schaub 57f407b7f9 Merge pull request 'Bump jacoco dependency to 0.8.8' (#5) from heiko/pgpainless:heiko/dependency into wot
Reviewed-on: https://codeberg.org/PGPainless/pgpainless/pulls/5
2023-07-06 14:37:13 +00:00
Heiko Schaefer 52654af2aa
Bump jacoco dependency to 0.8.8
With jacoco 0.8.7 and JDK 17, tests show a
java.lang.instrument.IllegalClassFormatException
2023-07-06 16:05:01 +02:00
Heiko Schaefer 1d5cc1c111
Comment typo fix 2023-07-06 15:42:22 +02:00
Heiko Schaefer bc078b754d
Path: Allow public get access for root and residualDepth 2023-07-06 15:42:21 +02:00
Heiko Schaefer 218990c3fe
Depth: Add fun value() to get the raw value 2023-07-06 15:41:59 +02:00
Heiko Schaefer f09ea00fdd
Certification toString improvements
- Detect delegations based on depth
- Add scope regexes for delegations
2023-07-06 15:41:59 +02:00
Heiko Schaefer 7e6e9274f8
Network: toString formatting fix 2023-07-06 15:41:59 +02:00
Heiko Schaefer 98fb643af6
Fingerprint: Implement Comparable 2023-07-06 15:25:29 +02:00
Heiko Schaefer 461a2bebd4
Path, Paths, RegexSet: Implement toString 2023-07-06 15:25:23 +02:00
Heiko Schaefer ac5919bcf7
Add test for RegexSet 2023-07-06 15:05:15 +02:00
Paul Schaub 7a777ab914
KeyRingReader.readPublicKeyRingCollection: Handle secret keys as public keys 2023-07-06 13:08:56 +02:00
Paul Schaub 16ec6bc5e4
Add Network.Builder class 2023-07-06 02:03:47 +02:00
Paul Schaub 80a300b43e
Small comments 2023-07-05 18:16:05 +02:00
Paul Schaub 9a8ec26737
Dip the regex set into caramell - hmmm 2023-07-05 18:08:54 +02:00
Paul Schaub a202a34941
Pour comments onto Path 2023-07-05 18:06:23 +02:00
Paul Schaub 7fa8489d43
Sugar for the Fingerprint 2023-07-05 17:52:16 +02:00
Paul Schaub 48379a1c01
Add sugar to Depth 2023-07-05 17:47:43 +02:00
Paul Schaub 0d45363c18
Make Depth constructor private 2023-07-05 17:38:49 +02:00