Skip to main content

Module backup

Module backup 

Source
Expand description

Utilities for parsing and creating YubiHSM2 wrap files.

Wrap files are used for backup and restore actions with a YubiHSM2 device. This module provides support for the proprietary YHW data format, used by Yubico tooling.

The module supports backup of the following types of objects:

  • ed25519 private keys (both seeded and expanded form),
  • AES-128 authentication keys,
  • opaque byte vectors.

Structs§

AuthAes128
An AES-128 based authentication key.
BeReader 🔒
Reader of big-endian encoded bytes.
ExpandedEd25519KeyData
Expanded form of an ed25519 private key without seed.
InnerFormat
Parsed representation of the backup’s inner format.
PlainWrappedDataWithKey
The representation of data about to be wrapped (encrypted) with key.
SeedEd25519KeyData
The private parts of an ed25519 key.
SerializedEd25519
An Ed25519 key serialized in YubiHSM2 specific format.
YubiHsm2Wrap
The representation of wrapped (encrypted) data of a YubiHSM2.

Enums§

Error
Backup error.
ObjectType
The object type contained in the backup.
WrapAlgorithm
The supported algorithms available for wrapping (encryption) of data.
WrappedPayload
The deserialized body of a wrapped object.

Type Aliases§

Aes128Ccm 🔒