Expand description
DeadDrop core: protocol, crypto, identities, objects, storage. This crate MUST NOT depend on networking or applications.
Re-exports§
pub use sealed::SEAL_QUORUM_EXT;pub use sealed::SEAL_UNTIL_EXT;
Modules§
- carrier
- USB / removable-media carrier bundles (
.ddcarrierdirectory or.ddroparchive). Never includes private identity keys. - channel
- Channel subscriptions. Nodes MUST NOT store every public channel by default.
- chunk
- config
- crypto
- Cryptographic policy lives here. Networking crates MUST go through
CryptoProvider. - event
- identity
- protocol
- receipt
- rules
- Intentionally limited automation. Not a general-purpose language.
- sealed
- Sealed Drops: application policy until a condition holds.
- space
- Signed Space membership records. Payload-agnostic shared namespaces.
- store
Structs§
- Capability
Doc - ChunkId
- Content
Id - Digest
- Drop
Envelope - Extension
- Manifest
Id - Negotiated
Caps - Object
Id - PeerId
- Cryptographic node identifier. Text form:
dd:+ 64 hex characters of the digest. - Public
Identity - Recipient
Wrap - Routing
Policy - Security
Descriptor
Enums§
- DdError
- Destination
- Drop
State - Error
Code - Hash
Algorithm - Node
Mode - Node
Role - Ownership
- Payload
Descriptor - Priority
- Receipt
Kind - Relay
Capacity - Routing
Policy Kind - Session
State - Trust
State - Contact trust. Discovery never implies
KnownorVerified.
Constants§
- APP_
NAMESPACES - DEFAULT_
HOP_ LIMIT - DEFAULT_
REPLICATION_ BUDGET - DEFAULT_
STORE_ QUOTA - DEFAULT_
TTL_ SECS - DIGEST_
LEN - FIXED_
CHUNK_ SIZE - MAX_
CAPABILITIES - MAX_
CHUNKS_ PER_ MANIFEST - MAX_
CONTENT_ TYPE_ LEN - MAX_
DROP_ SIZE - MAX_
EXTENSIONS - MAX_
FILENAME_ LEN - MAX_
FRAME_ SIZE - MAX_
HOP_ LIMIT - MAX_
INLINE_ PAYLOAD - MAX_
INVENTORY_ IDS - MAX_
RECIPIENTS - MAX_
TOPIC_ LEN - MAX_
TTL_ SECS - MIN_
TTL_ SECS - NONCE_
LEN - PROTOCOL_
LABEL - PROTOCOL_
VERSION - Wire protocol major version. Independent of the Cargo package version.
- STORAGE_
SCHEMA_ VERSION - TAG_LEN
Functions§
- ephemeral_
discovery_ id - Daily rotating discovery identifier. Does not replace the cryptographic PeerId.
- hex_
decode - hex_
encode - peer_
id_ matches_ prefix