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

           Summary: 'zpool key -l' fails after changing keysource locator by
                    'zpool set keysource'
    Classification: Development
           Product: zfs-crypto
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P3
         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


build: zfs-crypto-gate-2008-05-15-12:38

It fails after changing keysource from/to passphrase,prompt to/from
passphrase,file. Changing between hex|raw,prompt and hex|raw,file works fine.

# zpool create -o keysource=passphrase,prompt tank /export/home/testfile 
Enter passphrase for 'tank': ==> Enter test here!
Enter again: 
# echo test > /export/home/passphrase_file 
# zpool set keysource=passphrase,file:///export/home/passphrase_file tank
# zpool key -u tank
# zpool key -l tank
Key error in 'tank': Key incorrect.
#

# zpool create -o keysource=passphrase,file:///export/home/passphrase_file tank
/export/home/testfile 
# zpool set keysource=passphrase,prompt tank
# zpool key -u tank
# zpool key -l tank
Enter passphrase for 'tank': 
Key error in 'tank': Key incorrect.

Test case zpool_set_keysource_005 fails because of this bug.

-- 
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