Updated Backups (markdown)

Dominik Schürmann 2016-02-10 19:24:05 +01:00
parent a0a8a76e74
commit cd141085c9
1 changed files with 1 additions and 1 deletions

@ -1,4 +1,4 @@
## Standard ## Backup Format v2
1. All secret and public keys that should be included in the backup MUST be concatenated in their [transferable key format](http://tools.ietf.org/html/rfc4880#section-11.1). 1. All secret and public keys that should be included in the backup MUST be concatenated in their [transferable key format](http://tools.ietf.org/html/rfc4880#section-11.1).
2. A backup code is generated from secure random: The backup code consists of 24 upper case characters from the Latin alphabet and numbers without ``O`` and ``0`` (``123456789ABCDEFGHIJKLMNPQRSTUVWXYZ``) grouped into 4-character chunks, e.g., ``TWNK-KD5Y-MT3T-E1GS-DRDB-KVTW``. The characters MUST be generated from secure random, such as ``/dev/urandom``. 2. A backup code is generated from secure random: The backup code consists of 24 upper case characters from the Latin alphabet and numbers without ``O`` and ``0`` (``123456789ABCDEFGHIJKLMNPQRSTUVWXYZ``) grouped into 4-character chunks, e.g., ``TWNK-KD5Y-MT3T-E1GS-DRDB-KVTW``. The characters MUST be generated from secure random, such as ``/dev/urandom``.
3. The whole backup code including the dashes is directly used as a string to encrypt the concatenated transferable keys as an OpenPGP message (more precisely: It is used as the symmetric-key for a [Symmetric-Key Encrypted Session Key Packet](http://tools.ietf.org/html/rfc4880#section-5.3), the symmetric-key is thus 29 characters long including the dashes). The encryption algorithm MUST be one of the standardized OpenPGP symmetric algorithms (in case of OpenKeychain: AES-256). 3. The whole backup code including the dashes is directly used as a string to encrypt the concatenated transferable keys as an OpenPGP message (more precisely: It is used as the symmetric-key for a [Symmetric-Key Encrypted Session Key Packet](http://tools.ietf.org/html/rfc4880#section-5.3), the symmetric-key is thus 29 characters long including the dashes). The encryption algorithm MUST be one of the standardized OpenPGP symmetric algorithms (in case of OpenKeychain: AES-256).