Home
last modified time | relevance | path

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

12

/freebsd/crypto/openssh/
H A Dauth2-hostbased.c117 logit_r(r, "refusing %s key", sshkey_type(key)); in userauth_hostbased()
239 sshkey_type(key->cert->signature_key), fp, in hostbased_key_allowed()
246 sshkey_type(key), fp, cuser, lookup); in hostbased_key_allowed()
H A Dssh-pkcs11-client.c411 debug3_f("wrap %s for provider %s", sshkey_type(k), helper->path); in wrap_key()
441 debug3_f("private key type %s cert type %s", sshkey_type(priv), in pkcs11_make_cert()
442 sshkey_type(certpub)); in pkcs11_make_cert()
447 sshkey_type(priv), sshkey_type(certpub)); in pkcs11_make_cert()
472 fatal_f("unknown key type %s", sshkey_type(priv)); in pkcs11_make_cert()
H A Dssh-agent.c391 tag, hostname, sshkey_type(key), fp, dch->nkeys); in match_key_hop()
402 sshkey_type(dch->keys[i]), fp); in match_key_hop()
477 sshkey_type(id->key), id->comment); in permitted_by_dest_constraints()
499 "%zu constraints", sshkey_type(id->key), id->comment, in identity_permitted()
529 fromkey ? sshkey_type(fromkey) : "(ORIGIN)", in identity_permitted()
531 sshkey_type(hks->key), fp2); in identity_permitted()
881 verbose_f("%s key not found", sshkey_type(key)); in process_sign_request2()
915 sshkey_type(id->key), fp); in process_sign_request2()
953 sshkey_type(id->key), fp, in process_sign_request2()
971 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 Dauth.c246 sshkey_type(key), fp == NULL ? "(null)" : fp, in format_method_key()
249 sshkey_type(key->cert->signature_key), in format_method_key()
258 xasprintf(&ret, "%s %s%s%s", sshkey_type(key), in format_method_key()
572 sshkey_type(key), fp, options.revoked_keys_file); in auth_key_is_revoked()
576 "revoked keys file %s", sshkey_type(key), fp, in auth_key_is_revoked()
H A Dssh_api.c483 debug3_f("check %s", sshkey_type(k->key)); in _ssh_host_public_key()
498 debug3_f("check %s", sshkey_type(k->key)); in _ssh_host_private_key()
511 debug3_f("need %s", sshkey_type(hostkey)); in _ssh_verify_host_key()
513 debug3_f("check %s", sshkey_type(k->key)); in _ssh_verify_host_key()
H A Dauth2-pubkey.c82 xasprintf(&ret, "%s %s", sshkey_type(key), fp); in format_key()
157 logit("refusing previously-used %s key", sshkey_type(key)); in userauth_pubkey()
174 logit_r(r, "refusing %s key", sshkey_type(key)); in userauth_pubkey()
503 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
566 sshkey_type(key->cert->signature_key), ca_fp, in user_cert_trusted_ca()
H A Dsshconnect.c1022 type = sshkey_type(host_key); in check_host_key()
1292 sshkey_type(host_found->key), in check_host_key()
1482 sshkey_type(host_key), fp); in verify_host_key()
1495 sshkey_type(host_key), fp, in verify_host_key()
1501 "revoked keys file %s", sshkey_type(host_key), in verify_host_key()
1625 sshkey_type(found->key), in show_other_keys()
1627 sshkey_type(found->key), fp); in show_other_keys()
1654 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 Dssh-keygen.c360 sshkey_size(k), sshkey_type(k), in do_convert_to_ssh2()
394 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_to_pkcs8()
420 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_to_pem()
811 fatal_f("unsupported key type %s", sshkey_type(k)); in do_convert_from()
874 fp, sshkey_type(keys[i])); in do_download()
925 comment ? comment : "no comment", sshkey_type(public)); in fingerprint_one_key()
1287 sshkey_type(l->key), fp, in known_hosts_find_delete()
1856 tmp, sshkey_type(public)); in do_ca_sign()
1885 sshkey_type(ca), ca_fp); in do_ca_sign()
2141 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.c673 id->key ? sshkey_type(id->key) : "", id->key ? " " : "", in format_identity()
731 sshkey_type(key), fp == NULL ? "<ERROR>" : fp); in input_userauth_pk_ok()
1250 sshkey_type(sign_key), fp); in identity_sign()
1262 sshkey_type(sign_key), id->filename); in identity_sign()
1332 debug3_f("using %s with %s %s", method, sshkey_type(id->key), fp); in sign_and_send_pubkey()
1440 loc, sshkey_type(id->key), fp); in sign_and_send_pubkey()
1444 sshkey_type(sign_id->key), sign_id->filename, in sign_and_send_pubkey()
H A Dclientloop.c2270 sshkey_type(ctx->keys[i]), fp); in update_known_hosts()
2281 sshkey_type(ctx->old_keys[i]), fp); in update_known_hosts()
2396 "for %s key %zu", sshkey_type(ctx->keys[i]), i); in client_global_hostkeys_prove_confirm()
2416 sshkey_type(ctx->keys[i]), i, alg); in client_global_hostkeys_prove_confirm()
2422 sshkey_type(ctx->keys[i]), i); in client_global_hostkeys_prove_confirm()
2505 debug3_f("received %s key %s", sshkey_type(key), fp); in client_input_hostkeys()
H A Dsshkey.h211 const char *sshkey_type(const struct sshkey *);
H A Dssh-keysign.c295 sshkey_type(key), fp ? fp : ""); in main()
H A Dmonitor.c1206 (key == NULL || !authctxt->valid) ? "invalid" : sshkey_type(key), in mm_answer_keyallowed()
1450 sshkey_type(key), sigalg == NULL ? "default" : sigalg, in mm_answer_keyverify()
1463 sshkey_type(key), fp, in mm_answer_keyverify()
1475 "not met ", sshkey_type(key), fp, in mm_answer_keyverify()
H A Dserverloop.c707 error_f("unknown host %s key", sshkey_type(key)); in server_input_hostkeys_prove()
736 sshkey_type(key), ndx, sigalg == NULL ? "default" : sigalg); in server_input_hostkeys_prove()
H A Dssh-pkcs11-helper.c101 debug("check %s %s %s", sshkey_type(ki->key), in lookup_key()
H A Dssh-sk-client.c456 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.c809 sshkey_type(authctxt->prev_keys[i]), in auth2_key_already_used()
H A Dsshd.c417 sshkey_type(sensitive_data.host_keys[i])); in demote_sensitive_data()
2042 sshkey_type(key));
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc355 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main()
366 kextypes[j], sshkey_type(st->pubkeys[keytypes[i]])); in main()
383 sshkey_type(st->privkeys[keytypes[i]])); in main()
390 sshkey_type(st->pubkeys[keytypes[i]])); in main()
/freebsd/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c163 sshkey_type(k), lens[i]); in signature_tests()

12