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.

Reply via email to