bugzilla-daemon at defect.opensolaris.org
2008-Mar-03 06:12 UTC
[Bug 667] New: zpool key -l will fail with salt being too large of a number
http://defect.opensolaris.org/bz/show_bug.cgi?id=667
Summary: zpool key -l will fail with salt being too large of a
number
Classification: Development
Product: zfs-crypto
Version: unspecified
Platform: Other
OS/Version: Solaris
Status: ACCEPTED
Severity: minor
Priority: P3
Component: other
AssignedTo: ajscarp at yahoo.com
ReportedBy: ajscarp at yahoo.com
QAContact: hua.tang at sun.com
CC: zfs-crypto-discuss at opensolaris.org
Estimated Hours: 0.0
One may see this:
---
bash-3.2# zpool set keysource=raw,file:///key.raw tank
bash-3.2# zpool key -l tank
cannot set property for ''tank'': numeric value is too large
Key Load Error: Failed to set salt property.
---
This only occurs in "zpool key" and not in "zpool create".
But if you continue try again, you will eventually get a value that is small
enough. Found during last minute manual testing in putback done on Mar 3rd.
--
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-Mar-08 04:28 UTC
[Bug 667] zpool key -l will fail with salt being too large of a number
http://defect.opensolaris.org/bz/show_bug.cgi?id=667
ajscarp at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ACCEPTED |CLOSED
Resolution| |FIXED
--- Comment #1 from ajscarp at yahoo.com 2008-03-07 20:28:12 ---
created zpool_get_prop_int for salt and operation works fine.. other zfs
char-to-int conversions only want to use signed int64''s not unsigned.
--
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.