|
|
Phase 1 Alpha ReleaseIMPORTANT
Phase 1 Functionality implemented
Known issues
Getting the binariesOnly bfu archives are supplied, if you aren't comfortable with using bfu then please wait for a later release. The files for the alpha release are covered by either the OpenSolaris Binary License (OBL) or the Common Development and Distribution License (CDDL). The pre-built BFU archives contain binaries/source for high key-strength crypto, known as the Encryption Kit (SUNWcry, SUNWcryr). Please note that certain countries restrict the redistribution of high key-strength crypto. If you live in one of these countries, it is your responsibility to ensure that you are complying with your country's laws in this area. NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) The OpenSolaris code released under the CDDL shall be governed by the laws of the State of California (excluding conflict-of-law provisions). Any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California and the state courts of the State of California, with venue lying in Santa Clara County, California.
NOTE bfu does not correctly resolve the /etc/crypto/kcf.conf conflict. You MUST do this if you use dataset or dskek with a keylength other than 128. Your /etc/kcf.conf should have an entry for "aes256" not "aes". Manually edit it and then run cryptoadm refresh. Failing to do this will cause a panic if you use aes-256-cbc with zfs. Alpha Release source:Tagged as "zc_alpha" in the mercurial repository: hg.opensolaris.org/hg/zfs-crypto/zfs-crypto-gate/ Creating an encrypted poolAfter the pool has been created, the following commands can be run. Using a key file for your encrypted poolFor generating a key in a file, use pktool(1) thus:
Note that with pktool outfile can not be a full path, use the dir= option to store the key somewhere other than the current directory. Set the DSKEK to the key file and load the key
Using a passphrase for your encrypted pool.
Create an encrypted datasetThis command will create an encrypted dataset to use in your pool.
If you leave off the "encryption", you will get an unencrypted dataset that can live in the pool just as normal. Encryption & User delegationUsers need the "encryption" property delegated to them to be able to change wither or not encryption is enabled in a dataset they create as themselves. This allows enabling encryption at say tank/home and having it inherited to all datasets created for any by users and ensures they can not change that policy. Mounting encrypted datasetsNote that encrypted datasets will NOT mount unless the pool key is present. During boot if the key isn't found they will be skipped by 'zfs mount -a'. To manually mount later: 'zpool keymgr load <pool> && zfs mount -a' Destroying datasets and poolsYou can use the normal zfs and zpool commands to umount and destroy encrypted datasets and pools. |