Commit Graph

2048 Commits

Author SHA1 Message Date
Paul Schaub b9c06788b3
Make WebOfTrust.LOGGER static 2023-07-12 17:03:54 +02:00
Paul Schaub e2dd0236ee
Test Path and Paths classes 2023-07-12 17:03:54 +02:00
Paul Schaub 169f680b58
Test RevocationState class 2023-07-12 17:03:54 +02:00
Paul Schaub a9cb991a2d
Tests for RegexSet 2023-07-12 17:03:54 +02:00
Paul Schaub bc64f285ef
Basic FingerprintTest 2023-07-12 17:03:54 +02:00
Paul Schaub 2e3c83f1f6
Test Certification class 2023-07-12 17:03:54 +02:00
Paul Schaub aa826469f3
Test some more methods from Network 2023-07-12 17:03:53 +02:00
Paul Schaub 1095f83454
Test Depth.min() 2023-07-12 17:03:53 +02:00
Paul Schaub 8768ebaafd
Test CertificationSet.toString() 2023-07-12 17:03:53 +02:00
Paul Schaub 3ddb73c1d6
Simplify ReferenceTime.now() 2023-07-12 17:03:53 +02:00
Paul Schaub 8d68a29836
Indexed for-loop 2023-07-12 17:03:53 +02:00
Heiko Schaefer 008f1b22ef
Fix off by one 2023-07-12 17:03:52 +02:00
Paul Schaub 6c841fda7c
Add CertificationSetTest 2023-07-12 17:03:52 +02:00
Paul Schaub 52927323b1
Add felix.pub and test for anomaly (wip) 2023-07-12 17:03:52 +02:00
Paul Schaub e2c5892452
Implement KeyRingCertificateStore 2023-07-12 17:03:52 +02:00
Paul Schaub a057d21ca3
Update kDoc of RevocatioNState 2023-07-12 17:03:52 +02:00
Paul Schaub ae92b01cbb
Remove pgpainless-core dependency from wot-dijkstra 2023-07-12 17:03:52 +02:00
Paul Schaub 630c263918
Base WebOfTrust on PGPCertificateStore instead of PGPCertificateDirectory 2023-07-12 17:03:51 +02:00
Paul Schaub 55e39d85c5
Remove unused imports from WotCLI 2023-07-12 17:03:51 +02:00
Paul Schaub 4f924c519c
Port WebOfTrust to Kotlin 2023-07-12 17:03:51 +02:00
Paul Schaub d9a5d6b926
Remove unnecessary braces from AuthenticateAPI 2023-07-12 17:03:51 +02:00
Paul Schaub aa854eea0c
Port CertificationFactory to kotlin 2023-07-12 17:03:51 +02:00
Paul Schaub 9befc759f5
Remove CertificateAuthority interface 2023-07-12 17:03:50 +02:00
Paul Schaub 9946f6bf83
Move API classes to kotlin source directory 2023-07-12 17:03:50 +02:00
Paul Schaub d3393017ed
Add module pgpainless-wot-cli 2023-07-12 17:03:50 +02:00
Heiko Schaefer f973065f06
Cherry-picked baa9d10fd2b1e8e07253f4f3576cfb5fff875c44 2023-07-12 17:03:50 +02:00
Paul Schaub 44774ac727
Add kDoc to Kotlin classes 2023-07-12 17:03:50 +02:00
Paul Schaub ee5201484c
Port wot-dijkstra tests 2023-07-12 17:03:50 +02:00
Paul Schaub 1c56bf177b
Fix value name regexes in Certification 2023-07-12 17:03:49 +02:00
Paul Schaub f3e3d22841
Port ReferenceTime interface to Kotlin 2023-07-12 17:03:49 +02:00
Paul Schaub 18f2e420be
Add empty construcor to Paths 2023-07-12 17:03:49 +02:00
Paul Schaub 0eefd29446
Use Matcher.find() instead of Matcher.match() 2023-07-12 17:03:49 +02:00
Paul Schaub 2922bc5bd6
Port wot-dijkstra Java classes to Kotlin 2023-07-12 17:03:49 +02:00
Paul Schaub 987492056d
Disable unreliable test
See #389
2023-07-12 17:03:49 +02:00
Paul Schaub 936718b09d
Rewrite CertSynopsis in Kotlin 2023-07-12 17:03:48 +02:00
Paul Schaub c4ccfd672d
Remove unnecessary WebOfTrustCertificateStore class 2023-07-12 17:03:48 +02:00
Paul Schaub 643f2e5e34
Move Iterator classes to sugar packet 2023-07-12 17:03:48 +02:00
Paul Schaub 1a23c3849e
Fix comments 2023-07-12 17:03:48 +02:00
Paul Schaub 9f4b11174e
CertSynopsis: Change userId set to map with revocation states 2023-07-12 17:03:48 +02:00
Paul Schaub b06dea379c
Add example kotlin test 2023-07-12 17:03:47 +02:00
Paul Schaub 4a161a8d91
Add kotlin-test-junit5 for JUnit tests in kotlin code 2023-07-12 17:03:47 +02:00
Paul Schaub e065d99bec
Remove unnecessary fields from WebOfTrust class 2023-07-12 17:03:47 +02:00
Paul Schaub b98707320d
Add getNumberOfEdges() and getNumberOfSignatures() to get insight into Network objects 2023-07-12 17:03:47 +02:00
Paul Schaub 6ec160835c
Allow WebOfTrustCertificateStore to be based on PGPCertificateDirectory 2023-07-12 17:03:47 +02:00
Paul Schaub 8d18fc9775
Network.toString(): Print edges, not reverse edges 2023-07-12 17:03:47 +02:00
Paul Schaub ffae298142
Catch exceptions on malformed keys 2023-07-12 17:03:46 +02:00
Paul Schaub ab0835d176
Introduce CertificationFactory.
This is done in an attempt to minimize the number of BC/PGPainless dependencies in wot-dijkstra
2023-07-12 17:03:46 +02:00
Paul Schaub 3a994625e9
Add todos 2023-07-12 17:03:46 +02:00
Paul Schaub d163a2b0a6
It clicked for me; Simplified edge/reverseEdge finding 2023-07-12 17:03:46 +02:00
Paul Schaub d284e3407f
Remove unused test 2023-07-12 17:03:46 +02:00