Documentation ¶
Overview ¶
Package fritzcrypt decrypts fritz secrets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotCiphertext represents an error where the given ciphertext is not a ciphertext. ErrNotCiphertext = errors.New("password must start with $$$$") // ErrIVLength represents and error of the initial vector size. ErrIVLength = errors.New("crypt iv too short") // ErrDataLength represents an error with the encryption data. ErrDataLength = errors.New("crypt data too short") // ErrInvalidChecksum represents an error with the checksum, most likely a wrong password. ErrInvalidChecksum = errors.New("invalid checksum: wrong ciphertext, wrong key, or wrong algorithm") )
Functions ¶
This section is empty.
Types ¶
type BaseDecodingError ¶
type BaseDecodingError struct {
Err error
}
BaseDecodingError represents a decoding error.
func (*BaseDecodingError) Error ¶
func (e *BaseDecodingError) Error() string
Error returns the error message.
func (*BaseDecodingError) Unwrap ¶
func (e *BaseDecodingError) Unwrap() error
Unwrap unwraps wrapped errors.
type CBCAlgo ¶
type CBCAlgo struct {
// contains filtered or unexported fields
}
CBCAlgo decrypts fritz secrets using CBC, Base32, and MD5.
Seems to be used for: - FRITZ!Box 7530 & FRITZ!OS 7.57.
type CipherError ¶
CipherError represents a cipher error.
func (*CipherError) Error ¶
func (e *CipherError) Error() string
type DecodeSizeError ¶
type DecodeSizeError struct {
Err error
}
DecodeSizeError represents a decoding error.
func (*DecodeSizeError) Error ¶
func (e *DecodeSizeError) Error() string
Error returns the error message.
func (*DecodeSizeError) Unwrap ¶
func (e *DecodeSizeError) Unwrap() error
Unwrap unwraps wrapped errors.
Click to show internal directories.
Click to hide internal directories.