bugzilla-daemon at defect.opensolaris.org
2008-May-06 09:08 UTC
[Bug 1804] New: "zpool set keysource" should not allow to change the key format
http://defect.opensolaris.org/bz/show_bug.cgi?id=1804 Summary: "zpool set keysource" should not allow to change the key format 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 zpool_set_keysource_004 failed. -bash-3.2$ zpool get keystatus test NAME PROPERTY VALUE SOURCE test keystatus undefined default -bash-3.2$ zpool get keysource test NAME PROPERTY VALUE SOURCE test keysource raw,prompt default -bash-3.2$ su Password: # zpool set keysource=hex,prompt test # zpool get keysource test NAME PROPERTY VALUE SOURCE test keysource hex,prompt default # -- 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-06 10:01 UTC
[Bug 1804] "zpool set keysource" should not allow to change the key format
http://defect.opensolaris.org/bz/show_bug.cgi?id=1804 Darren J Moffat <darrenm at opensolaris.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|darrenm at opensolaris.org |ajscarp at yahoo.com -- 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-06 20:26 UTC
[Bug 1804] "zpool set keysource" should not allow to change the key format
http://defect.opensolaris.org/bz/show_bug.cgi?id=1804 ajscarp at yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #1 from ajscarp at yahoo.com 2008-05-06 13:26:47 --- This is a particular case where the property can be changed because the key has not been defined. When the key is defined, then the restrictions are enforced. bash-3.2# zpool create tank c0t0d0s6 bash-3.2# zpool set keysource=raw,prompt tank bash-3.2# zpool get keysource tank NAME PROPERTY VALUE SOURCE tank keysource raw,prompt default bash-3.2# zpool set keysource=hex,prompt tank bash-3.2# zpool get keysource tank NAME PROPERTY VALUE SOURCE tank keysource hex,prompt default bash-3.2# zpool set keysource=passphrase,prompt tank bash-3.2# zpool get keysource tank NAME PROPERTY VALUE SOURCE tank keysource passphrase,prompt default bash-3.2# zpool key -l tank Enter passphrase for ''tank'': Enter again: bash-3.2# zpool set keysource=raw,prompt tank cannot set property for ''tank'': invalid keysource. -- 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.