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
144ebc9c63
Depth: enable comparison with lengths >255 [hack?]
...
The "infinity and beyond" authentication test performs a comparison against a length > 255. Transforming that length into a "Depth" object for comparison failed without this patch.
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
Heiko Schaefer
55484436fa
XX Fingerprint: adjust the compare operation to produce the same order as sequoia-wot, for hex-shaped fingerprints
2023-07-11 01:12:02 +02:00
Heiko Schaefer
1005be095f
Add test for Cost
2023-07-11 01:12:02 +02:00
Heiko Schaefer
5b18a1b465
Algorithm port from Rust
2023-07-11 01:12:02 +02:00
Heiko Schaefer
e42e570911
Implementation of Filters
2023-07-11 01:12:02 +02:00
Heiko Schaefer
c35a53cffa
EdgeComponent toString adjust
2023-07-11 01:12:02 +02:00
Heiko Schaefer
ed1d4a16a5
Paths add toString
2023-07-11 01:12:02 +02:00
Heiko Schaefer
f6f76f4984
Paths: add "items" getter
2023-07-11 01:12:02 +02:00
Heiko Schaefer
2b527858f9
Add dependency on slf4j
2023-07-11 01:12:02 +02:00
Heiko Schaefer
14bbb72692
Implement PairPriorityQueue wrapper
2023-07-11 01:12:02 +02:00
Heiko Schaefer
c4214ad2dc
Implement Root, Roots
2023-07-11 01:12:02 +02:00
Heiko Schaefer
3e4368b764
Add package-info.java for org.pgpainless.wot.dijkstra
2023-07-11 01:12:02 +02:00
Heiko Schaefer
f0b02b4733
Add dependency on kotlin-test-junit5
2023-07-11 01:12:02 +02:00
7dfb814b8a
Fix order of issuer/target certificate in certification verification method
2023-07-11 01:04:50 +02:00
41dfb269f1
Fix index per key-id for invalidated keys
2023-07-11 00:51:00 +02:00
7c202b6955
Refactor signature checks
2023-07-10 17:54:58 +02:00
74bccb6c82
Certification Revocations equate to tsig of 0/0
2023-07-10 17:46:32 +02:00
e6daae2a27
Cleanup signature verification
2023-07-10 17:45:45 +02:00
7ee8048c34
Propagate referenceTime to the Network
2023-07-09 21:02:02 +02:00
b6cd1ff13c
Move PGPDSL to pgpainless-wot testFixtures
2023-07-09 13:22:11 +02:00
b12fc5e4d2
Move EdgeComponent test constructor to NetworkDSL
2023-07-09 13:17:58 +02:00
4be4633266
Remove unused import
2023-07-09 13:07:37 +02:00
4db0fc7b7e
Move NetworkDSL to testFixtures sources so we can reuse it in pgpainless-wot
2023-07-09 13:05:44 +02:00
89986af7f7
Refactor package names
2023-07-09 13:03:57 +02:00
404bf4d776
Rename classes
2023-07-09 13:01:13 +02:00
57b2f68c63
More CLI work
2023-07-08 02:05:07 +02:00
cdd5ba15a0
Work on CLI
2023-07-08 00:54:58 +02:00
6f19f3a89e
Fix NPE when encountering missing because expired cert
2023-07-08 00:54:34 +02:00
f2db1efa61
WIP: Work on PGP-DSL
2023-07-07 19:59:02 +02:00
8ed588c23e
more DSL
2023-07-07 19:20:07 +02:00
11d868dc27
Diabetes levels of DSL and sugar
2023-07-07 18:49:00 +02:00
9d6ae1c0bb
Work on Network
2023-07-07 16:37:29 +02:00
4f2f54f4b3
Replace buildMap() call with associateWith()
2023-07-07 16:18:32 +02:00
99b47eafb6
KeyRingCertificateStore: Allow for multiple PGPPublicKeyRingCollections as input
2023-07-07 15:49:39 +02:00
7083045067
Rename API package
2023-07-07 15:42:04 +02:00
8029d031bc
Move the API definition to wot-dijkstra
2023-07-07 15:41:17 +02:00
3d8840116c
Document WebOfTrust
2023-07-07 15:07:45 +02:00
50810e1d14
More refactoring for WebOfTrust
2023-07-07 14:43:13 +02:00
2e802c1f1e
Refactor WebOfTrust class
2023-07-07 14:22:45 +02:00
31a0151b55
Bump BC to 1.75
2023-07-07 13:11:50 +02:00
eb819dd73d
Bump cert-d-java and pgpainless-cert-d to 0.2.2
2023-07-07 12:24:18 +02:00
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