First dispatcher

- Create (sub)command structure.
- First experimental dispatcher to start the daemon.
This commit is contained in:
Malte Meiboom
2026-02-22 12:51:05 +01:00
parent 2d072bf10b
commit c33feb1ee7
14 changed files with 323 additions and 35 deletions
+3 -2
View File
@@ -6,7 +6,8 @@
use sequoia_wot as wot;
use wot::{CertSynopsis, Certification};
use sequoia_openpgp::{policy::StandardPolicy, Cert, KeyID};
use sequoia_openpgp::policy::StandardPolicy;
use sequoia_openpgp::Cert;
#[derive(Debug, Clone)]
pub struct Introducer {
@@ -44,7 +45,7 @@ impl Introducer {
u.certifications().for_each(|s| {
if s.signature_alive(None, None).is_ok() {
s.issuers().for_each(|i| {
if i == &my_keyid { result = true; }
if i == &my_keyid { result = true; }
});
}
})