Links
OpenDNSSEC Developer Wiki
OpenDNSSEC Documentation
SoftHSM Developer Wiki
SoftHSM Documentation
Current location:
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
On this Page
|
...
The purpose of this document is to provide a set of guidelines for purchasing a Hardware Security Module (HSM) for use with OpenDNSSEC.
...
Hardware Security Modules come in a variety of shapes, forms and sizes:
The main purpose of a HSM is to safeguard cryptographic key material and/or to speed up cryptographic operations (a HSM can have either one or both of these purposes).
For the purpose of this document, HSMs are divided into four categories:
Characteristics of this category are:
SoftHSM is an example of a software token. It is provided by OpenDNSSEC.
...
Characteristics of this category are:
Characteristics of this category are:
Characteristics of this category are:
Of these four types of HSMs, three types are suitable for use with OpenDNSSEC (types 1, 2, and 4). Type 3 HSMs (cryptographic accelerators) are less suited for use with OpenDNSSEC because they do not always provide the means to securely and efficiently store cryptographic key material.
...
Most HSMs support both RSA as well as DSA key generation and signing. RSA is recommended for use with OpenDNSSEC. The RSA support should at least comply with the following guidelines:
DSA is not recommended for use with DNSSEC in general for the following reasons:
Most HSMs will support one or more of the following APIs for access to their cryptographic functionality:
To be interoperable with OpenDNSSEC a HSM must support the PKCS #11 API. The minimum supported version of the PKCS #11 API is version 2.11. A compliancy tool will be made available that tests whether the PKCS #11 module supplied with a HSM is compatible with OpenDNSSEC.
...
When comparing HSMs in order to decide which one to purchase it is useful to compare the speed of cryptographic operations. There are two important benchmarks to look for:
In general, separate unit HSMs and PCI cards will outperform smart cards and USB tokens by a large factor.
...
This standard is maintained by the National Institute of Standards and Technology (NIST) which is a United States governmental body. The FIPS 140-2 standard recognises four levels to which a module can be evaluated (for a more detailed description see FIPS 140-2):
For use with OpenDNSSEC, a HSM that has at least a FIPS 140-2 level 2 certification is recommended. Note that operating a HSM in FIPS 140-2 level 3 or higher mode may impose restrictions on on-board key generation through the PKCS #11 API that may be incompatible with OpenDNSSEC.
...
The Common Criteria are an internationally recognised set of standards for evaluating security hardware and software. It is a highly regulated process with the following characteristics:
When a product has been evaluated the depth of and confidence in the evaluation is expressed as an Evaluation Assurance Level (EAL) ranging from 1 to 7 where 1 is the lowest and 7 the highest qualification.
...
Please note: a Common Criteria certification only has value if the Protection Profile is strict enough. Therefore, a Common Criteria certification can only really be trusted if the Protection Profile that was used for the evaluation is checked (this is very difficult for outsiders). Within the EU, the Protection Profile for Secure Signatured Signature Creation Devices (SSCD) (European standard CWA 14169) is a valuable profile for evaluation.
...
The key material used by OpenDNSSEC and stored in a HSM is extremely valuable as it guarantees the continued signed presence of a domain in the Domain Name System. It is therefore important to check the backup mechanisms supported by your HSMs.unmigrated-wiki-markup
Unfortunately, there are no specific standards for backing up key material in HSMs at the moment. Most manufacturers, however, will provide a \ [vendor specific\] way for backing up key material. When evaluating a HSM product, attention should be paid to the security, ease of use and above all robustness of the backup method(s) provided by the HSM manufacturer.
A good example of a backup strategy is a HSM which maintains a key database (on disk) that is secured using (a) \ [set of\] master key(s). These can be stored on smart cards that can be distributed among multiple security officers. An N out of M model can then be used to restore the master key(s) in a new HSM if a backup needs to be restored where at least N out of M security officers need to present their card to restore the master key(s). The new HSM can then access the key database stored on disk which could have been backed up using readily available backup tools. Wiki Markup
...
Feature | Required/Optional |
PKCS #11 API | Required |
MS CryptoAPI | Not required |
OpenSSL engine support | Not required |
Minimum key size ? ≤ 1024 bits | Required |
Maximum key size ? ≥ 2048 bits | Required |
RSA algorithm support | Required |
DSA algorithm support | Optional |
Symmetric algorithm support (AES, DES, etc.) | Optional |
FIPS 140-2 (level 2 or 3) | Recommended* |
Common Criteria (EAL 4 or up) | Recommended* |
Backup mechanisms | Required |
...