Home
last modified time | relevance | path

Searched refs:keylocation (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_keylocation.ksh59 log_must zfs set keylocation=none $TESTPOOL/$TESTFS
60 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS
61 log_mustnot zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS
65 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
67 log_mustnot zfs set keylocation=none $TESTPOOL/$TESTFS1
68 log_mustnot zfs set keylocation=/$TESTPOOL/pkey $TESTPOOL/$TESTFS1
70 log_must zfs set keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
74 log_must zfs set keylocation=$(get_https_base_url)/PASSPHRASE $TESTPOOL/$TESTFS1
77 log_must zfs set keylocation=prompt $TESTPOOL/$TESTFS1
90 log_mustnot zfs set keylocation=none $TESTPOOL/$TESTFS1/child
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/
H A Dzfs_create_encrypted.ksh85 log_mustnot zfs create -o keylocation=prompt $TESTPOOL/$TESTFS1/c1
86 log_mustnot zfs create -o keyformat=passphrase -o keylocation=prompt \
90 log_mustnot zfs create -o encryption=off -o keylocation=prompt \
95 -o keylocation=prompt $TESTPOOL/$TESTFS1/c2
98 log_mustnot zfs create -o encryption=on -o keylocation=prompt \
110 log_mustnot zfs create -o keylocation=prompt $TESTPOOL/$TESTFS2/c2
119 log_mustnot zfs create -o encryption=off -o keylocation=prompt \
124 -o keylocation=prompt $TESTPOOL/$TESTFS2/c5
128 log_mustnot zfs create -o encryption=on -o keylocation=prompt \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_https.ksh51 -o keylocation=https://invalid./where-ever $TESTPOOL/$TESTFS1
54 -o keylocation=https://$HTTPS_HOSTNAME:22 $TESTPOOL/$TESTFS1
57 -o keylocation=$(get_https_base_url)/ENOENT $TESTPOOL/$TESTFS1
60 -o keylocation=$(get_https_base_url)/PASSPHRASE $TESTPOOL/$TESTFS1
63 -o keylocation=$(get_https_base_url)/HEXKEY $TESTPOOL/$TESTFS2
66 -o keylocation=$(get_https_base_url)/RAWKEY $TESTPOOL/$TESTFS3
H A Dzfs_load-key_all.ksh51 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
54 -o keylocation=$(get_https_base_url)/PASSPHRASE $TESTPOOL/$TESTFS2
57 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/zvol
62 -O keylocation=file:///$TESTPOOL/pkey $TESTPOOL1 $DISK2
H A Dzfs_load-key_recursive.ksh50 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
53 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
56 -o keylocation=$(get_https_base_url)/PASSPHRASE $TESTPOOL/$TESTFS1/child/child
H A Dzfs_load-key_file.ksh49 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
H A Dzfs_load-key_location.ksh59 -o keylocation=file://$key_location $TESTPOOL/$TESTFS1
H A Dzfs_load-key_common.kshlib65 typeset keyloc=$(get_prop keylocation $ds)
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_encrypted.ksh68 log_mustnot zpool create -O keylocation=prompt $TESTPOOL $DISKS
70 log_mustnot zpool create -O keyformat=passphrase -O keylocation=prompt \
76 log_mustnot zpool create -O encryption=off -O keylocation=prompt \
81 -O keylocation=prompt $TESTPOOL $DISKS
84 log_mustnot zpool create -O encryption=on -O keylocation=prompt \
/freebsd/sys/contrib/openzfs/etc/init.d/
H A Dzfs-load-key.in9 # in keylocation property. See the zfs(8) man page for details.
48 "$ZFS" list -Ho name,encryptionroot,keystatus,keylocation |
49 while IFS=" " read -r name encryptionroot keystatus keylocation; do
53 [ "$keylocation" != "prompt" ] &&
54 [ "$keylocation" != "none" ]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_crypto.c688 zfs_keyformat_t keyformat, const char *keylocation, const char *fsname, in get_key_material() argument
700 ret = zfs_prop_parse_keylocation(hdl, keylocation, &keyloc, in get_key_material()
730 if ((ret = handler->zuh_handler(hdl, keylocation, in get_key_material()
853 const char *keylocation, nvlist_t *props, uint8_t **wkeydata, in populate_create_encryption_params_nvlists() argument
864 ret = get_key_material(hdl, B_TRUE, newkey, keyformat, keylocation, in populate_create_encryption_params_nvlists()
1011 const char *keylocation = NULL; in zfs_crypto_create() local
1030 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in zfs_crypto_create()
1105 if (pcrypt == ZIO_CRYPT_OFF && keylocation == NULL && in zfs_crypto_create()
1117 if (keylocation != NULL && keyformat == ZFS_KEYFORMAT_NONE) { in zfs_crypto_create()
1125 if (keyformat != ZFS_KEYFORMAT_NONE && keylocation == NULL) { in zfs_crypto_create()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_change-key/
H A Dzfs_change-key_location.ksh51 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
62 log_mustnot zfs change-key -o keylocation=none $TESTPOOL/$TESTFS1
63 log_mustnot zfs change-key -o keylocation=foobar $TESTPOOL/$TESTFS1
H A Dzfs_change-key_load.ksh49 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
H A Dzfs_change-key_pbkdf2iters.ksh63 -o keylocation=file:///$TESTPOOL/pkey -o pbkdf2iters=200000 \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unload-key/
H A Dzfs_unload-key_all.ksh51 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
55 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/zvol
60 -O keylocation=file:///$TESTPOOL/pkey $TESTPOOL1 $DISK2
H A Dzfs_unload-key_recursive.ksh52 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1
54 -o keylocation=file:///$TESTPOOL/pkey $TESTPOOL/$TESTFS1/child
/freebsd/libexec/rc/rc.d/
H A Dzfskeys33 xargs -0 zfs get -H -s local -o value,name keylocation
35 zfs get -H -t filesystem,volume -s local -o value,name keylocation
38 -o value,name keylocation
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c146 const char *keylocation = NULL; in dsl_crypto_params_create_nvlist() local
158 zfs_prop_to_name(ZFS_PROP_KEYLOCATION), &keylocation); in dsl_crypto_params_create_nvlist()
195 if (keylocation != NULL) { in dsl_crypto_params_create_nvlist()
196 if (!zfs_prop_valid_keylocation(keylocation, B_FALSE)) { in dsl_crypto_params_create_nvlist()
201 dcp->cp_keylocation = spa_strdup(keylocation); in dsl_crypto_params_create_nvlist()
474 dsl_crypto_can_set_keylocation(const char *dsname, const char *keylocation) in dsl_crypto_can_set_keylocation() argument
494 if (strcmp(keylocation, "none") != 0) { in dsl_crypto_can_set_keylocation()
504 if (!zfs_prop_valid_keylocation(keylocation, B_TRUE)) { in dsl_crypto_can_set_keylocation()
1549 const char *keylocation = dcp->cp_keylocation; in spa_keystore_change_key_sync() local
1568 keylocation = "prompt"; in spa_keystore_change_key_sync()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/pam/
H A Dsetup.ksh36 echo "testpass" | zfs create -o encryption=aes-256-gcm -o keyformat=passphrase -o keylocation=promp…
H A Dpam_recursive.ksh36 -o keylocation=prompt "$TESTPOOL/pampam/pam/${username}"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_props.ksh72 -o keylocation=file://$keyfile $TESTPOOL/crypt
74 log_must zfs create -o keyformat=passphrase -o keylocation=file://$keyfile \
H A Dsend_encrypted_freeobjects.ksh75 -o keyformat=passphrase -o keylocation=file://$keyfile $POOL/$sendds
H A Dsend_encrypted_incremental.ksh71 -o keylocation=file:///pool_lb/pwd pool_lb/encryptme
/freebsd/sys/contrib/openzfs/cmd/zed/zed.d/
H A Dhistory_event-zfs-list-cacher.sh.in50 setuid|nbmand|encroot|keylocation|org.openzfs.systemd:requires| \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_status/
H A Dzpool_status_005_pos.ksh66 -o keylocation=file:///$TESTPOOL2/pwd -o primarycache=none \

12