Docs.rs
dkp-core-0.3.4
dkp-core 0.3.4
Docs.rs crate page
MIT
OR
Apache-2.0
06 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
mathiscode
Dependencies
anyhow ^1
normal
csv ^1
normal
dirs ^5
normal
figment ^0.10
normal
flate2 ^1
normal
jsonschema ^0.26
normal
reqwest ^0.12
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
tantivy ^0.26.1
normal
tar ^0.4
normal
thiserror ^2
normal
urlencoding ^2
normal
wasmtime ^46
normal
optional
wasmtime-wasi ^46
normal
optional
zip ^2
normal
tempfile ^3
dev
tokio ^1
dev
wiremock ^0.6
dev
Versions
9.72%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module trust
dkp_
core
0.3.4
Module trust
Module Items
Structs
Enums
Functions
In crate dkp_
core
dkp_core
Module
trust
Copy item path
Source
Structs
§
Trusted
KeyEntry
Trusted
Keys
File
Enums
§
PinCheck
Outcome of checking a fetched publisher key against the trusted-key store.
Functions
§
accept_
new_
key
Overwrite the pinned key for
scope
, used after the user explicitly accepts a key change (e.g. via
--accept-new-key
).
check_
and_
pin
Check
scope
’s freshly-fetched
public_key
against the global trusted-key store, pinning it on first contact. Does not itself decide policy on mismatch — the caller decides whether to hard-fail or accept an override.
load
save