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

           Summary: 'zfs create -o encryption=aes-128-ccm -o
                    keysource=raw,prompt .." shouldn't work with a 256 bits
                    key
    Classification: Development
           Product: zfs-crypto
           Version: unspecified
          Platform: Other
        OS/Version: Solaris
            Status: NEW
          Severity: minor
          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

This bug was found during verifying 1052.

# zfs create -o encryption=aes-128-ccm -o keyscope=dataset -o
keysource=raw,file:///export/home/raw_key_file tank/fs_6
cannot create 'tank/fs_6': Key length invalid (32).
# cat /export/home/raw_key_file | zfs create -o encryption=aes-128-ccm -o
keyscope=dataset -o keysource=raw,prompt tank/fs_6
# zfs list tank/fs_6
NAME        USED  AVAIL  REFER  MOUNTPOINT
tank/fs_6    18K   218M    18K  /tank/fs_6
# 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