search for: dsl_crypto_key_gen

Displaying 2 results from an estimated 2 matches for "dsl_crypto_key_gen".

2008 Mar 27
4
dsl_dataset_t pointer during ''zfs create'' changes
.... This causes me a big issue with per dataset provided encryption keys, but not with a per pool provided encryption key. When keyscope=dataset we pass the key value used as the wrapping key down over the ioctl as part of the dataset creation. This makes its way via dmu_objset_create_sync() to dsl_crypto_key_gen() which generates the actual encryption key and wraps it using the key that came over the ioctl, it then stores the wrapped key on disk using zap_update. All this part works just fine. The last thing that dsl_crypto_key_gen() does is place the encryption key into ds>ds_key so it can be use...
2008 May 26
5
[Bug 2033] New: ''zfs create'' causes panic if key file doesn''t exist
...-discuss at opensolaris.org Estimated Hours: 0.0 build: zfs-crypto-gate-2008-05-23-18:05 # zpool create -f test /export/home/testfile # zfs create -o keysource=raw,file:///no_file -o keyscope=dataset -o encryption=on test/fs panic info: panic[cpu0]/thread=2a100a67ca0: assertion failed: 0 == dsl_crypto_key_gen(ds, zct, cr, tx), file: ../../common/fs/zfs/dmu_objset.c, line: 628 000002a100a675a0 genunix:assfail+78 (7b3036a0, 7b3031a8, 274, 1853800, 1361000, 0) %l0-3: 0000030004e520c0 0000060010edd830 000000007b303400 0000060011409328 %l4-7: 000000007b303400 0000000000000000 00000000018a2000 0000000000...