e2be3c002f
Remove unused dependency on wkd-java
2023-07-13 16:24:35 +02:00
acfc683ac0
Add logback as default logger
2023-07-13 16:24:16 +02:00
ad270aa212
Implement authenticate, identify, list, lookup
2023-07-12 20:46:30 +02:00
c98d6c4708
WIP: Identify command
2023-07-11 14:39:37 +02:00
heiko
fbdcae3c81
Merge pull request 'Implement authenticate command' ( #2 ) from PGPainless/pgpainless:paul/heiko_wot into heiko/wot
...
Reviewed-on: https://codeberg.org/heiko/pgpainless/pulls/2
2023-07-10 23:53:47 +00:00
38cc67f8e7
Implement authenticate command
2023-07-11 01:37:10 +02:00
Heiko Schaefer
9d4b294965
q break out fpcost
2023-07-11 01:12:14 +02:00
Heiko Schaefer
8dd5a65699
q cleanup targetUa check
2023-07-11 01:12:14 +02:00
Heiko Schaefer
20434ad9f6
q refactor break out assemblepath
2023-07-11 01:12:14 +02:00
Heiko Schaefer
dd4277b33d
q drop logging
2023-07-11 01:12:14 +02:00
Heiko Schaefer
18219aa186
q: simplify comparison, use comparator
2023-07-11 01:12:14 +02:00
Heiko Schaefer
98bccf78df
xx: use Network via interface
2023-07-11 01:12:14 +02:00
Heiko Schaefer
7d284722b9
XXX TMP SwotAuthenticateTest: adjust expected test output
2023-07-11 01:12:03 +02:00
Heiko Schaefer
7b7601326c
backwardPropagate wrapper: simulate backwardPropagateInternal calculating all paths in one go
2023-07-11 01:12:03 +02:00
Heiko Schaefer
4583b0a742
TMP: make backward_propagate public, for tests
2023-07-11 01:12:03 +02:00
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