Home
last modified time | relevance | path

Searched refs:json_variant_by_key (Results 1 – 25 of 40) sorted by relevance

12

/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-fido2.c102 w = json_variant_by_key(v, "fido2-credential"); in parse_luks2_fido2_data()
110 w = json_variant_by_key(v, "fido2-salt"); in parse_luks2_fido2_data()
118 w = json_variant_by_key(v, "fido2-rp"); in parse_luks2_fido2_data()
128 w = json_variant_by_key(v, "fido2-clientPin-required"); in parse_luks2_fido2_data()
135 w = json_variant_by_key(v, "fido2-up-required"); in parse_luks2_fido2_data()
142 w = json_variant_by_key(v, "fido2-uv-required"); in parse_luks2_fido2_data()
Dluks2-tpm2.c94 w = json_variant_by_key(v, "tpm2-pcrs"); in parse_luks2_tpm2_data()
115 w = json_variant_by_key(v, "tpm2-pcr-bank"); in parse_luks2_tpm2_data()
129 w = json_variant_by_key(v, "tpm2-primary-alg"); in parse_luks2_tpm2_data()
143 w = json_variant_by_key(v, "tpm2-blob"); in parse_luks2_tpm2_data()
151 w = json_variant_by_key(v, "tpm2-policy-hash"); in parse_luks2_tpm2_data()
159 w = json_variant_by_key(v, "tpm2-pin"); in parse_luks2_tpm2_data()
Dcryptsetup-token-systemd-fido2.c175 w = json_variant_by_key(v, "fido2-credential"); in cryptsetup_token_validate()
185 w = json_variant_by_key(v, "fido2-salt"); in cryptsetup_token_validate()
196 w = json_variant_by_key(v, "fido2-rp"); in cryptsetup_token_validate()
203 w = json_variant_by_key(v, "fido2-clientPin-required"); in cryptsetup_token_validate()
210 w = json_variant_by_key(v, "fido2-up-required"); in cryptsetup_token_validate()
217 w = json_variant_by_key(v, "fido2-uv-required"); in cryptsetup_token_validate()
Dcryptsetup-token-systemd-tpm2.c202 w = json_variant_by_key(v, "tpm2-pcrs"); in cryptsetup_token_validate()
225 w = json_variant_by_key(v, "tpm2-pcr-bank"); in cryptsetup_token_validate()
242 w = json_variant_by_key(v, "tpm2-primary-alg"); in cryptsetup_token_validate()
257 w = json_variant_by_key(v, "tpm2-blob"); in cryptsetup_token_validate()
267 w = json_variant_by_key(v, "tpm2-policy-hash"); in cryptsetup_token_validate()
277 w = json_variant_by_key(v, "tpm2-pin"); in cryptsetup_token_validate()
Dcryptsetup-token-systemd-pkcs11.c121 w = json_variant_by_key(v, "pkcs11-uri"); in cryptsetup_token_validate()
132 w = json_variant_by_key(v, "pkcs11-key"); in cryptsetup_token_validate()
Dluks2-pkcs11.c250 w = json_variant_by_key(v, "pkcs11-uri"); in parse_luks2_pkcs11_data()
258 w = json_variant_by_key(v, "pkcs11-key"); in parse_luks2_pkcs11_data()
/systemd-251/src/home/
Dhomectl-fido2.c38 w = json_variant_ref(json_variant_by_key(*v, "fido2HmacCredential")); in add_fido2_credential_id()
99 w = json_variant_ref(json_variant_by_key(*v, "privileged")); in add_fido2_salt()
100 l = json_variant_ref(json_variant_by_key(w, "fido2HmacSalt")); in add_fido2_salt()
136 un = json_variant_by_key(*v, "userName"); in identity_add_fido2_parameters()
144 realm = json_variant_by_key(*v, "realm"); in identity_add_fido2_parameters()
154 rn = json_variant_by_key(*v, "realName"); in identity_add_fido2_parameters()
Dhomectl-recovery-key.c29 w = json_variant_ref(json_variant_by_key(*v, "privileged")); in add_privileged()
30 l = json_variant_ref(json_variant_by_key(w, "recoveryKey")); in add_privileged()
53 r = json_variant_strv(json_variant_by_key(*v, "recoveryKeyType"), &types); in add_public()
76 w = json_variant_ref(json_variant_by_key(*v, "secret")); in add_secret()
77 l = json_variant_ref(json_variant_by_key(w, "password")); in add_secret()
Duser-record-util.c242 e = json_variant_by_key(host->json, "binding"); in user_record_reconcile()
349 binding = json_variant_ref(json_variant_by_key(h->json, "binding")); in user_record_add_binding()
354 be = json_variant_ref(json_variant_by_key(binding, SD_ID128_TO_STRING(mid))); in user_record_add_binding()
652 per_machine = json_variant_by_key(h->json, "perMachine"); in user_record_set_disk_size()
673 m = json_variant_by_key(array[i], "matchMachineId"); in user_record_set_disk_size()
807 priv = json_variant_ref(json_variant_by_key(h->json, "privileged")); in user_record_make_hashed_password()
840 priv = json_variant_ref(json_variant_by_key(h->json, "privileged")); in user_record_set_hashed_password()
904 w = json_variant_ref(json_variant_by_key(h->json, "secret")); in user_record_set_password()
966 w = json_variant_ref(json_variant_by_key(h->json, "secret")); in user_record_set_token_pin()
1002 w = json_variant_ref(json_variant_by_key(h->json, "secret")); in user_record_set_pkcs11_protected_authentication_path_permitted()
[all …]
Dhomectl-pkcs11.c48 w = json_variant_ref(json_variant_by_key(*v, "privileged")); in add_pkcs11_encrypted_key()
49 l = json_variant_ref(json_variant_by_key(w, "pkcs11EncryptedKey")); in add_pkcs11_encrypted_key()
74 w = json_variant_ref(json_variant_by_key(*v, "pkcs11TokenUri")); in add_pkcs11_token_uri()
110 w = json_variant_ref(json_variant_by_key(*v, "secret")); in identity_add_token_pin()
111 l = json_variant_ref(json_variant_by_key(w, "tokenPin")); in identity_add_token_pin()
Duser-record-sign.c115 array = json_variant_by_key(ur->json, "signature"); in user_record_verify()
138 data = json_variant_by_key(e, "data"); in user_record_verify()
168 array = json_variant_by_key(ur->json, "signature"); in user_record_has_signature()
Dhomectl.c844 c = json_variant_by_key(*v, "lastChangeUSec"); in update_last_change()
867 c = json_variant_by_key(*v, "lastPasswordChangeUSec"); in update_last_change()
917 per_machine = json_variant_ref(json_variant_by_key(v, "perMachine")); in apply_identity_changes()
939 u = json_variant_by_key(z, "matchMachineId"); in apply_identity_changes()
964 rlv = json_variant_ref(json_variant_by_key(add, "resourceLimits")); in apply_identity_changes()
1025 privileged = json_variant_ref(json_variant_by_key(v, "privileged")); in apply_identity_changes()
1049 rlv = json_variant_ref(json_variant_by_key(v, "resourceLimits")); in apply_identity_changes()
1079 if (json_variant_by_key(*v, "disposition")) in add_disposition()
1426 un = json_variant_by_key(json, "userName"); in acquire_updated_home_record()
2846 e = json_variant_by_key(arg_identity_extra, "environment"); in parse_argv()
[all …]
Dhome-util.c124 v = json_variant_by_key(secret->json, "secret"); in bus_message_append_secret()
/systemd-251/src/cryptsetup/
Dcryptsetup-fido2.c176 w = json_variant_by_key(v, "fido2-credential"); in find_fido2_auto_data()
186 w = json_variant_by_key(v, "fido2-salt"); in find_fido2_auto_data()
197 w = json_variant_by_key(v, "fido2-rp"); in find_fido2_auto_data()
211 w = json_variant_by_key(v, "fido2-clientPin-required"); in find_fido2_auto_data()
223 w = json_variant_by_key(v, "fido2-up-required"); in find_fido2_auto_data()
235 w = json_variant_by_key(v, "fido2-uv-required"); in find_fido2_auto_data()
Dcryptsetup-tpm2.c205 w = json_variant_by_key(v, "tpm2-pcrs"); in find_tpm2_auto_data()
238 w = json_variant_by_key(v, "tpm2-pcr-bank"); in find_tpm2_auto_data()
255 w = json_variant_by_key(v, "tpm2-primary-alg"); in find_tpm2_auto_data()
271 w = json_variant_by_key(v, "tpm2-blob"); in find_tpm2_auto_data()
282 w = json_variant_by_key(v, "tpm2-policy-hash"); in find_tpm2_auto_data()
292 w = json_variant_by_key(v, "tpm2-pin"); in find_tpm2_auto_data()
Dcryptsetup-pkcs11.c137 w = json_variant_by_key(v, "pkcs11-uri"); in find_pkcs11_auto_data()
150 w = json_variant_by_key(v, "pkcs11-key"); in find_pkcs11_auto_data()
/systemd-251/src/shared/
Dgroup-record.c77 m = json_variant_by_key(variant, SD_ID128_TO_STRING(mid)); in dispatch_binding()
111 m = json_variant_by_key(e, "matchMachineId"); in dispatch_per_machine()
121 m = json_variant_by_key(e, "matchHostname"); in dispatch_per_machine()
163 m = json_variant_by_key(variant, SD_ID128_TO_STRING(mid)); in dispatch_status()
240 … r = dispatch_per_machine("perMachine", json_variant_by_key(h->json, "perMachine"), json_flags, h); in group_record_load()
244 r = dispatch_binding("binding", json_variant_by_key(h->json, "binding"), json_flags, h); in group_record_load()
248 r = dispatch_status("status", json_variant_by_key(h->json, "status"), json_flags, h); in group_record_load()
Dcryptsetup-util.c213 w = json_variant_by_key(v, "type"); in cryptsetup_get_token_as_json()
235 w = json_variant_by_key(v, "keyslots"); in cryptsetup_get_keyslot_from_token()
Duser-record.c330 jcur = json_variant_by_key(value, "cur"); in json_dispatch_rlimits()
337 jmax = json_variant_by_key(value, "max"); in json_dispatch_rlimits()
1065 m = json_variant_by_key(variant, SD_ID128_TO_STRING(mid)); in dispatch_binding()
1244 m = json_variant_by_key(e, "matchMachineId"); in dispatch_per_machine()
1254 m = json_variant_by_key(e, "matchHostname"); in dispatch_per_machine()
1312 m = json_variant_by_key(variant, SD_ID128_TO_STRING(mid)); in dispatch_status()
1612 … r = dispatch_per_machine("perMachine", json_variant_by_key(h->json, "perMachine"), json_flags, h); in user_record_load()
1616 r = dispatch_binding("binding", json_variant_by_key(h->json, "binding"), json_flags, h); in user_record_load()
1620 r = dispatch_status("status", json_variant_by_key(h->json, "status"), json_flags, h); in user_record_load()
/systemd-251/src/test/
Dtest-varlink.c32 a = json_variant_by_key(parameters, "a"); in method_something()
38 b = json_variant_by_key(parameters, "b"); in method_something()
62 sum = json_variant_by_key(parameters, "sum"); in reply()
156 assert_se(json_variant_integer(json_variant_by_key(o, "sum")) == 88 + 99); in thread()
160 … assert_se(streq_ptr(json_variant_string(json_variant_by_key(o, "method")), "io.test.IDontExist")); in thread()
Dtest-json.c154 p = json_variant_by_key(v, "k"); in test_1()
161 p = json_variant_by_key(v, "foo"); in test_1()
172 p = json_variant_by_key(v, "bar"); in test_1()
176 q = json_variant_by_key(p, "zap"); in test_1()
189 p = json_variant_by_key(v, "mutant"); in test_2()
210 p = json_variant_by_key(q, "1"); in test_2()
223 p = json_variant_by_key(v, "thisisaverylongproperty"); in test_2()
497 k = json_variant_by_key(v, (char[2]) { c, 0 }); in TEST()
/systemd-251/src/cryptenroll/
Dcryptenroll-list.c54 w = json_variant_by_key(v, "type"); in list_enrolled()
66 w = json_variant_by_key(v, "keyslots"); in list_enrolled()
Dcryptenroll-wipe.c115 w = json_variant_by_key(v, "type"); in find_slots_by_mask()
123 w = json_variant_by_key(v, "keyslots"); in find_slots_by_mask()
215 w = json_variant_by_key(v, "keyslots"); in find_slot_tokens()
/systemd-251/src/userdb/
Duserwork.c48 if (json_variant_by_key(*v, "service")) in add_nss_service()
55 status = json_variant_ref(json_variant_by_key(*v, "status")); in add_nss_service()
56 z = json_variant_ref(json_variant_by_key(status, SD_ID128_TO_STRING(mid))); in add_nss_service()
58 if (json_variant_by_key(z, "service")) in add_nss_service()
/systemd-251/src/nspawn/
Dnspawn-bind-user.c116 p = json_variant_by_key(u->json, "privileged"); in convert_user()
118 hp = json_variant_by_key(p, "hashedPassword"); in convert_user()

12