http://defect.opensolaris.org/bz/show_bug.cgi?id=1987





--- Comment #1 from Grace <hua.tang at sun.com>  2008-05-20 01:41:27 ---
For 'zfs create' with keyscope=dataset, it only happens with
keysource=raw,prompt. But with keyscope=pool, 'zfs create -o
encryption=aes-128-ccm' succeeds with a 128 bits key while
keysource=raw|hex,prompt|file. For example:

# zpool create -f -o keysource=hex,file:///export/home/hex_key_file test
/export/home/testfile_2
# zfs create -o encryption=aes-128-ccm test/fs
# cat /export/home/hex_key_file 
9adf6ac44655ccc414a5e9197a34c52731f5fe08d9191a7cd3811ab6f69f1078#

# zpool create -f -o keysource=raw,file:///export/home/raw_key_file test
/export/home/testfile_2
# zfs create -o encryption=aes-128-ccm test/fs
# pktool list keystore=file objtype=key infile=/export/home/raw_key_file
Found 1 symmetric keys.
Key #1 - symmetric:  /export/home/raw_key_file (256 bits)
#

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to