search for: zpool_load_key

Displaying 3 results from an estimated 3 matches for "zpool_load_key".

2008 Mar 03
0
fix pam module to use zpool_load_key property. Add some better error reporting
Author: Anthony Scarpino <Anthony.Scarpino at Sun.COM> Repository: /hg/zfs-crypto/gate Latest revision: a2a39602f5d2629c170434c6b35e4b6512d33744 Total changesets: 1 Log message: fix pam module to use zpool_load_key property. Add some better error reporting Files: update: usr/src/lib/libzfs/common/libzfs_crypto.c update: usr/src/lib/pam_modules/zfs_key/zfs_key.c
2008 Mar 03
1
[Bug 668] New: libzfs:load_key() probably should allow null values for zfs_crypt_t
...However a change done by me required further dependence a structure being passed because of the addition of the random salt and optimizations done in load_key.. In the interest of getting new code put back, I changed it to disallow nulls. Having a null value allowed might be a reasonable though. zpool_load_key callers shouldn''t have to send a zero''ed zfs_crypt_t structure, only when the caller actually provides data. It could easily be changed to accept null and then have the function create structure for internal use.. -- Configure bugmail: http://defect.opensolaris.org/bz/userprefs...
2008 Mar 27
5
[Bug 871] New: ''zpool key -l'' core dumped with keysource=hex, prompt and unmatched entered in
...valid or corrupted buffer stack trace: libumem.so.1''umem_err_recoverable+0x39 libumem.so.1''process_free+0xe1 libumem.so.1''free+0x17 libzfs.so.1''get_passphrase+0x1bc libzfs.so.1''get_key_material+0x54 libzfs.so.1''load_key+0x59 libzfs.so.1''zpool_load_key+0x102 libzfs.so.1''zpool_key_load+0x4f zpool''set_callback_key_load+0xe zpool''pool_list_iter+0x66 zpool''for_each_pool+0x39 zpool''zpool_do_key+0x1a4 zpool''main+0x138 zpool''_start+0x7a Abort (core dumped) -bash-3.2$ zpool get keysource pool...