Home
last modified time | relevance | path

Searched refs:sshkey_type (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/crypto/openssh/
H A Dauth2-hostbased.c118 logit_r(r, "refusing %s key", sshkey_type(key)); in userauth_hostbased()
240 sshkey_type(key->cert->signature_key), fp, in hostbased_key_allowed()
247 sshkey_type(key), fp, cuser, lookup); in hostbased_key_allowed()
H A Dssh-pkcs11-client.c418 debug3_f("wrap %s for provider %s", sshkey_type(k), helper->path); in wrap_key()
464 debug3_f("private key type %s cert type %s", sshkey_type(priv), in pkcs11_make_cert()
465 sshkey_type(certpub)); in pkcs11_make_cert()
470 sshkey_type(priv), sshkey_type(certpub)); in pkcs11_make_cert()
513 fatal_f("unknown key type %s", sshkey_type(priv)); in pkcs11_make_cert()
H A Dauth.c245 sshkey_type(key), fp == NULL ? "(null)" : fp, in format_method_key()
248 sshkey_type(key->cert->signature_key), in format_method_key()
257 xasprintf(&ret, "%s %s%s%s", sshkey_type(key), in format_method_key()
574 sshkey_type(key), fp, options.revoked_keys_file); in auth_key_is_revoked()
578 "revoked keys file %s", sshkey_type(key), fp, in auth_key_is_revoked()
H A Dssh-agent.c396 tag, hostname, sshkey_type(key), fp, dch->nkeys); in match_key_hop()
407 sshkey_type(dch->keys[i]), fp); in match_key_hop()
482 sshkey_type(id->key), id->comment); in permitted_by_dest_constraints()
504 "%zu constraints", sshkey_type(id->key), id->comment, in identity_permitted()
534 fromkey ? sshkey_type(fromkey) : "(ORIGIN)", in identity_permitted()
536 sshkey_type(hks->key), fp2); in identity_permitted()
886 verbose_f("%s key not found", sshkey_type(key)); in process_sign_request2()
920 sshkey_type(id->key), fp); in process_sign_request2()
959 sshkey_type(id->key), fp, in process_sign_request2()
977 sshkey_type(id->key), fp); in process_sign_request2()
[all …]
H A Dauth2-pubkeyfile.c324 sshkey_is_cert(key) ? "CA" : "key", sshkey_type(found), fp); in auth_check_authkey_line()
334 sshkey_type(found), fp, loc); in auth_check_authkey_line()
376 sshkey_type(found), fp, loc); in auth_check_authkey_line()
H A Dssh_api.c490 debug3_f("check %s", sshkey_type(k->key)); in _ssh_host_public_key()
505 debug3_f("check %s", sshkey_type(k->key)); in _ssh_host_private_key()
518 debug3_f("need %s", sshkey_type(hostkey)); in _ssh_verify_host_key()
520 debug3_f("check %s", sshkey_type(k->key)); in _ssh_verify_host_key()
H A Dsshconnect.c1061 type = sshkey_type(host_key); in check_host_key()
1331 sshkey_type(host_found->key), in check_host_key()
1521 sshkey_type(host_key), fp); in verify_host_key()
1534 sshkey_type(host_key), fp, in verify_host_key()
1540 "revoked keys file %s", sshkey_type(host_key), in verify_host_key()
1665 sshkey_type(found->key), in show_other_keys()
1667 sshkey_type(found->key), fp); in show_other_keys()
1694 sshkey_type(host_key), fp); in warn_changed_key()
H A Dssh-add.c130 sshkey_type(key), comment ? comment : "no comment"); in delete_one()
554 sshkey_type(idlist->keys[i])); in list_identities()
629 sshkey_type(key), fp); in load_resident_keys()
638 sshkey_type(key), fp); in load_resident_keys()
738 host, sshkey_type(hke->key), want_ca ? "CA " : "", in parse_dest_constraint_hop()
H A Dauth2-pubkey.c88 xasprintf(&ret, "%s %s", sshkey_type(key), fp); in format_key()
163 logit("refusing previously-used %s key", sshkey_type(key)); in userauth_pubkey()
180 logit_r(r, "refusing %s key", sshkey_type(key)); in userauth_pubkey()
540 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
603 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
H A Dssh-keygen.c363 sshkey_size(k), sshkey_type(k), in do_convert_to_ssh2()
399 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_to_pkcs8()
427 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_to_pem()
839 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_from()
902 fp, sshkey_type(keys[i])); in do_download()
953 comment ? comment : "no comment", sshkey_type(public)); in fingerprint_one_key()
1315 sshkey_type(l->key), fp, in known_hosts_find_delete()
1884 tmp, sshkey_type(public)); in do_ca_sign()
1913 sshkey_type(ca), ca_fp); in do_ca_sign()
2169 printf(" Public key: %s %s\n", sshkey_type(key), key_fp); in print_cert()
[all …]
H A Dssh-sk-helper.c120 "msg len %zu, compat 0x%lx", sshkey_type(key), in process_sign()
251 sshkey_type(srks[i]->key), srks[i]->key->sk_application, in process_load_resident()
H A Dhostfile.c247 sshkey_type(l->key), l->path, l->linenum); in record_hostkey()
570 sshkey_type(l->key), l->path, l->linenum); in host_delete()
580 l->path, l->linenum, sshkey_type(l->key), ctx->host); in host_delete()
H A Dsshconnect2.c672 id->key ? sshkey_type(id->key) : "", id->key ? " " : "", in format_identity()
732 sshkey_type(key), fp == NULL ? "<ERROR>" : fp); in input_userauth_pk_ok()
1252 sshkey_type(sign_key), fp); in identity_sign()
1264 sshkey_type(sign_key), id->filename); in identity_sign()
1334 debug3_f("using %s with %s %s", method, sshkey_type(id->key), fp); in sign_and_send_pubkey()
1442 loc, sshkey_type(id->key), fp); in sign_and_send_pubkey()
1446 sshkey_type(sign_id->key), sign_id->filename, in sign_and_send_pubkey()
H A Dclientloop.c2253 sshkey_type(ctx->keys[i]), fp); in update_known_hosts()
2264 sshkey_type(ctx->old_keys[i]), fp); in update_known_hosts()
2379 "for %s key %zu", sshkey_type(ctx->keys[i]), i); in client_global_hostkeys_prove_confirm()
2399 sshkey_type(ctx->keys[i]), i, alg); in client_global_hostkeys_prove_confirm()
2405 sshkey_type(ctx->keys[i]), i); in client_global_hostkeys_prove_confirm()
2469 debug3_f("received %s key %s", sshkey_type(key), fp); in client_input_hostkeys()
H A Dssh-keysign.c295 sshkey_type(key), fp ? fp : ""); in main()
H A Dsshkey.h214 const char *sshkey_type(const struct sshkey *);
H A Dserverloop.c674 error_f("unknown host %s key", sshkey_type(key)); in server_input_hostkeys_prove()
704 sshkey_type(key), ndx, sigalg == NULL ? "default" : sigalg); in server_input_hostkeys_prove()
H A Dmonitor.c1328 (key == NULL || !authctxt->valid) ? "invalid" : sshkey_type(key), in mm_answer_keyallowed()
1572 sshkey_type(key), sigalg == NULL ? "default" : sigalg, in mm_answer_keyverify()
1585 sshkey_type(key), fp, in mm_answer_keyverify()
1597 "not met ", sshkey_type(key), fp, in mm_answer_keyverify()
H A Dssh-pkcs11-helper.c104 debug("check %s %s %s", sshkey_type(ki->key), in lookup_key()
H A Dssh-sk-client.c458 sshkey_type(srk->key), srk->key->sk_application, in sshsk_load_resident()
H A Dkrl.c244 KRL_DBG(("new CA %s", ca_key == NULL ? "*" : sshkey_type(ca_key))); in revoked_certs_for_ca_key()
410 debug3_f("revoke type %s", sshkey_type(key)); in ssh_krl_revoke_key_explicit()
H A Dauth2.c757 sshkey_type(authctxt->prev_keys[i]), in auth2_key_already_used()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc350 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main()
361 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main()
378 sshkey_type(st->privkeys[keytypes[i]])); in main()
385 sshkey_type(st->pubkeys[keytypes[i]])); in main()
/freebsd/crypto/openssh/regress/misc/ssh-verify-attestation/
H A Dssh-verify-attestation.c321 error_f("key type %s not supported", sshkey_type(k)); in cred_matches_key()
379 debug2("key %s: %s %s", argv[2], sshkey_type(k), fp); in main()
402 fatal("unsupported key type %s", sshkey_type(k)); in main()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c163 sshkey_type(k), lens[i]); in signature_tests()

12