package
0.0.0-20170609175141-84592ddf8673
Repository: https://github.com/yahoo/coname.git
Documentation: pkg.go.dev
# README
End-to-End keyserver protocol
The protocol consists of exchanging protobuf3
messages over grpc
. The
message descriptors are split into three files:
client.proto
-- all messages that are required for operation of a lightweight (stateful or stateless) client. Keyserver entries and server signature structures.config.proto
-- the client configuration.verifier.proto
-- everything that a verifier needs to use but a client does not. Pushing signatures, downloading update logs, etc.replication.proto
-- service-provider internal protocol, included here as a part of the reference implementation. Handles high-availability replication and synchronization of updates to the keyserver state.local.proto
-- service-provider internal protocol, included here as a part of the reference implementation. The local structures are user for persisting local state at each replica of the service provider.
# Packages
No description provided by the author
# Functions
No description provided by the author
KeyID computes the ID of public key.
MustMarshal takes a marshalable and returns the []byte representation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AuthorizationPolicy is used to check whether some signatures make up sufficient authorization to back an action.
No description provided by the author
No description provided by the author
No description provided by the author
A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution.
EmailProof provides a proof of ownership of the email address.
No description provided by the author
No description provided by the author
No description provided by the author
EmailProofByClientCert accepts a certificate signed by an authority trusted with handling registration as sufficient confirmation of ownership of an email address.
No description provided by the author
EmailProofByOIDC accepts an ID token fetched from an OpenID Connect provider and validates it as specified in the configuration.
EmailProofBySAML accepts the SAMLResponse signed by SAML2.0 Identity Provider as a sufficient confirmation of ownership of an email address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Entry is the value type in the authenticated mapping data structure.
No description provided by the author
No description provided by the author
KeyserverConfig describes the keyserver-wide configuration.
KeyserverStep denotes the input to a single step of the keyserver state machine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LookupProof encapsulates end-to-end cryptographc evidence that assuming *at least one* of the ratifiers has been correctly following the rules of the keyserver protocol then profile contains the latest public keys and metadata uploaded by user_id before the time specified in ratifications[0].
No description provided by the author
No description provided by the author
OIDCConfig contains the OpenID Connect client configuration which is used to validate the token received from the keyserver client.
A user's profile, containing public keys and other information.
PublicKey wraps a public key of a cryptographically secure signature scheme and verification metadata.
No description provided by the author
QuorumExpr represents a function with type set<uint64> -> bool.
No description provided by the author
RegistrationPolicy specifies the list of policies the keyserver may support, to confirm the ownership of an email address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReplicaConfig contains the local configuration of a single replica of a keyserver.
ReplicaState contains the persistent internal state of a single replica.
SignedEntryUpdate is the minimal self-contained structure to justify changing the value of an entry.
SignedEpochHead messages are used by auditors and the service provider to vouch that the SummaryHash represents the correct unique global state at the end of epoch.
A Timestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time.
No description provided by the author
TLSConfig structure is used to configure a TLS client or server.
A Proof provides an authentication path through the Merkle Tree that proves that an item is or is not present in the tree.
UpdateRequest specifies an update and the quorum required for considering the update successful.
No description provided by the author
Verifier contains the persistent internal state of a verifier.
VerifierStep denotes the input to a single state transition of the verified part of the keyserver state machine.
No description provided by the author
No description provided by the author
UpdateRequest streams a specified number of committed updates or ratifications.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author