bugzilla-daemon at defect.opensolaris.org
2008-May-28 07:45 UTC
[Bug 2064] New: ''zfs key -c -o keysource=raw,prompt'' doesn'' t fail without raw key provided
http://defect.opensolaris.org/bz/show_bug.cgi?id=2064
Summary: ''zfs key -c -o keysource=raw,prompt''
doesn''t fail
without raw key provided
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: NEW
Severity: major
Priority: P2
Component: other
AssignedTo: darrenm at opensolaris.org
ReportedBy: hua.tang at sun.com
QAContact: hua.tang at sun.com
CC: zfs-crypto-discuss at opensolaris.org
Estimated Hours: 0.0
# /usr/sbin/zfs create -o encryption=on -o keyscope=dataset -o
keysource=raw,file:///export/home/zfscrypto-tests/proto/suites/security/zfs-crypto/etc/raw_key_file
zfscrtypo_reserved_pool/zone_fs/fs_103267_2
# /usr/sbin/zfs key -c -o keyscope=dataset -o keysource=raw,prompt
zfscrtypo_reserved_pool/zone_fs/fs_103267_2
Key change successful.
# echo $?
0
# /usr/sbin/zfs key -u zfscrtypo_reserved_pool/zone_fs/fs_103267_2
# cat
/export/home/zfscrypto-tests/proto/suites/security/zfs-crypto/etc/raw_key_file
| /usr/sbin/zfs key -l zfscrtypo_reserved_pool/zone_fs/fs_103267_2
Key error in ''zfscrtypo_reserved_pool/zone_fs/fs_103267_2'':
Key incorrect.
# zfs destroy zfscrtypo_reserved_pool/zone_fs/fs_103267_2
It hung here!
Issues:
1. ''zfs key -c'' doesn''t fail.
2. ''zfs destroy'' hangs.
--
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.
bugzilla-daemon at defect.opensolaris.org
2008-May-28 07:46 UTC
[Bug 2064] ''zfs key -c -o keysource=raw,prompt'' doesn'' t fail without raw key provided
http://defect.opensolaris.org/bz/show_bug.cgi?id=2064 --- Comment #1 from Grace <hua.tang at sun.com> 2008-05-28 00:46:30 --- zfs_key_c_003 hung. -- 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.
bugzilla-daemon at defect.opensolaris.org
2008-May-28 12:41 UTC
[Bug 2064] ''zfs key -c -o keysource=raw,prompt'' doesn'' t fail without raw key provided
http://defect.opensolaris.org/bz/show_bug.cgi?id=2064
Darren J Moffat <darrenm at opensolaris.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution| |FIXINSOURCE
--- Comment #2 from Darren J Moffat <darrenm at opensolaris.org>
2008-05-28 05:41:05 ---
The key -c should have failed since there wasn''t enough data given to
be
a valid key.
The hang is either a result of this or another instance of 2063.
--
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.