1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
//! fiki — sign and verify HTTP requests with a bare Ed25519 key as the identifier.
//!
//! Standard [RFC 9421](https://www.rfc-editor.org/rfc/rfc9421.html), with one lens: an Ed25519
//! public key is rendered as a non-transferable AID (CESR `Ed25519N`, a 44-character `B…` string),
//! so the identifier is the verifying key and a verifier resolves nothing.
//!
//! That is the default. A caller who speaks the KERI profile of RFC 9421 (`docs/keri-profile.md`)
//! signs requests and responses under a KERI AID instead, and verifies them through a resolver it
//! supplies, against a minimum covered set, with refusals in the profile's section 9 order
//! (`this.i` @7f28p7xk, @6g9zjsv9, @5e2phpjy).
//!
//! See `this.i` @07wstqk7 in <https://github.com/bakobo/fiki> for why this is a library of its own.
/// The conformance contract this port satisfies (`this.i` @4fhrre0m).
///
/// Two artifacts interoperate when their declared vectors format matches, whatever their own
/// version numbers say — so this is the number to compare, not the release. Monotonic, because a
/// conformance contract has no meaningful minor: an implementation either satisfies the vectors or
/// it does not.
pub const VECTORS_FORMAT: u32 = 4;
/// The KERI profile's conformance contract this port satisfies, `vectors/keri/`'s
/// `keri_vectors_format` (`this.i` @8vwrexxc, @4tkkp50h, @5e2phpjy).
///
/// A separate number from [`VECTORS_FORMAT`], because the two sets answer to different authorities
/// and move independently: the shared vectors to fiki's own decisions, these to a profile fiki does
/// not own.
pub const KERI_VECTORS_FORMAT: u32 = 6;
/// The key-spelling vectors' conformance contract this port satisfies, `vectors/keys/`'s
/// `key_vectors_format` (`this.i` @0mvgkwnl).
///
/// A third number, because a port ships [`aid_from`] and [`Key::from_openssh`] on its own schedule
/// and adding them must not move [`VECTORS_FORMAT`].
pub const KEY_VECTORS_FORMAT: u32 = 1;
pub use ;
pub use ;
pub use aid_from;
pub use ;
pub use ;