[WIP] Security work While on holiday
This commit is contained in:
parent
a81ac4efca
commit
7f0231e3f1
109 changed files with 19694 additions and 5210 deletions
|
|
@ -6,8 +6,16 @@ pub enum CryptoError {
|
|||
EncryptionFailed,
|
||||
#[error("decryption failed")]
|
||||
DecryptionFailed,
|
||||
#[error("malformed encryption envelope")]
|
||||
MalformedEnvelope,
|
||||
#[error("no encryption recipients")]
|
||||
NoRecipients,
|
||||
#[error("no matching encryption recipient")]
|
||||
NoMatchingRecipient,
|
||||
#[error("invalid key length")]
|
||||
InvalidKeyLength,
|
||||
#[error("public and private key material do not match")]
|
||||
InvalidKeyMaterial,
|
||||
#[error("invalid nonce length")]
|
||||
InvalidNonceLength,
|
||||
#[error("invalid signature")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue