• Home
  • Raw
  • Download

Lines Matching refs:fatal

184 		fatal("unknown key type %s", key_type_name);  in type_bits_valid()
210 fatal("Invalid DSA key length: must be 1024 bits"); in type_bits_valid()
214 fatal("Invalid RSA key length: minimum is %d bits", in type_bits_valid()
217 fatal("Invalid RSA key length: maximum is %d bits", in type_bits_valid()
222 fatal("Invalid ECDSA key length: valid lengths are " in type_bits_valid()
297 fatal("bad key type"); in ask_filename()
324 fatal("Load key \"%s\": %s", filename, ssh_err(r)); in load_identity()
332 fatal("Load key \"%s\": %s", filename, ssh_err(r)); in load_identity()
350 fatal("%s: sshbuf_new failed", __func__); in do_convert_to_ssh2()
352 fatal("key_to_blob failed: %s", ssh_err(r)); in do_convert_to_ssh2()
354 fatal("%s: sshbuf_dtob64_string failed", __func__); in do_convert_to_ssh2()
378 fatal("PEM_write_RSA_PUBKEY failed"); in do_convert_to_pkcs8()
382 fatal("PEM_write_DSA_PUBKEY failed"); in do_convert_to_pkcs8()
387 fatal("PEM_write_EC_PUBKEY failed"); in do_convert_to_pkcs8()
391 fatal("%s: unsupported key type %s", __func__, sshkey_type(k)); in do_convert_to_pkcs8()
402 fatal("PEM_write_RSAPublicKey failed"); in do_convert_to_pem()
406 fatal("PEM_write_DSA_PUBKEY failed"); in do_convert_to_pem()
411 fatal("PEM_write_EC_PUBKEY failed"); in do_convert_to_pem()
415 fatal("%s: unsupported key type %s", __func__, sshkey_type(k)); in do_convert_to_pem()
430 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_to()
444 fatal("%s: unknown key format %d", __func__, convert_format); in do_convert_to()
460 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in buffer_get_bignum_bits()
463 fatal("%s: input buffer too small: need %d have %zu", in buffer_get_bignum_bits()
466 fatal("%s: BN_bin2bn failed", __func__); in buffer_get_bignum_bits()
468 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in buffer_get_bignum_bits()
487 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2()
500 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2()
519 fatal("sshkey_new failed"); in do_convert_private_ssh2()
529 fatal("%s: BN_new", __func__); in do_convert_private_ssh2()
536 fatal("%s: DSA_set0_pqg failed", __func__); in do_convert_private_ssh2()
539 fatal("%s: DSA_set0_key failed", __func__); in do_convert_private_ssh2()
546 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2()
558 fatal("%s: BN_new", __func__); in do_convert_private_ssh2()
569 fatal("%s: BN_new", __func__); in do_convert_private_ssh2()
576 fatal("%s: RSA_set0_key failed", __func__); in do_convert_private_ssh2()
579 fatal("%s: RSA_set0_factors failed", __func__); in do_convert_private_ssh2()
582 fatal("generate RSA parameters failed: %s", ssh_err(r)); in do_convert_private_ssh2()
612 fatal("input line too long."); in get_line()
617 fatal("unget: %s", strerror(errno)); in get_line()
640 fatal("sshbuf_new failed"); in do_convert_from_ssh2()
642 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_ssh2()
671 fatal("%s: base64 decoding failed: %s", __func__, ssh_err(r)); in do_convert_from_ssh2()
674 fatal("%s: private key conversion failed", __func__); in do_convert_from_ssh2()
676 fatal("decode blob failed: %s", ssh_err(r)); in do_convert_from_ssh2()
688 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pkcs8()
690 fatal("%s: %s is not a recognised public key format", __func__, in do_convert_from_pkcs8()
697 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
703 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
710 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
717 fatal("%s: unsupported pubkey type %d", __func__, in do_convert_from_pkcs8()
731 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pem()
734 fatal("sshkey_new failed"); in do_convert_from_pem()
740 fatal("%s: unrecognised raw private key format", __func__); in do_convert_from_pem()
753 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from()
766 fatal("%s: unknown key format %d", __func__, convert_format); in do_convert_from()
791 fatal("%s: unsupported key type %s", __func__, in do_convert_from()
797 fatal("key write failed"); in do_convert_from()
814 fatal("%s: %s", identity_file, strerror(errno)); in do_print_public()
842 fatal("cannot read public key from pkcs11"); in do_download()
849 fatal("%s: sshkey_fingerprint fail", __func__); in do_download()
869 fatal("no pkcs11 support"); in do_download()
880 fatal("sshkey_new failed"); in try_read_key()
900 fatal("%s: sshkey_fingerprint failed", __func__); in fingerprint_one_key()
918 fatal("%s: %s", path, strerror(errno)); in fingerprint_private()
928 fatal("%s is not a key file.", path); in fingerprint_private()
955 fatal("%s: %s: %s", __progname, path, strerror(errno)); in do_fingerprint()
1028 fatal("%s is not a public key file.", path); in do_fingerprint()
1109 fatal("sshkey_from_private failed: %s", ssh_err(r)); in do_gen_all_hostkeys()
1127 fatal("Unable to save public key to %s: %s", in do_gen_all_hostkeys()
1200 fatal("hash_host failed"); in known_hosts_hash()
1262 fatal("%s: sshkey_fingerprint failed", in known_hosts_find_delete()
1300 fatal("Specified known hosts path too long"); in do_known_hosts()
1321 fatal("known_hosts path too long"); in do_known_hosts()
1324 fatal("mkstemp: %s", strerror(errno)); in do_known_hosts()
1328 fatal("fdopen: %s", strerror(oerrno)); in do_known_hosts()
1340 fatal("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r)); in do_known_hosts()
1361 fatal("unlink %.100s: %s", old, strerror(errno)); in do_known_hosts()
1363 fatal("link %.100s to %.100s: %s", identity_file, old, in do_known_hosts()
1402 fatal("%s: %s", identity_file, strerror(errno)); in do_change_passphrase()
1419 fatal("Failed to load key %s: %s", identity_file, ssh_err(r)); in do_change_passphrase()
1480 fatal("%s: no filename", __func__); in do_print_resource_record()
1484 fatal("%s: %s", fname, strerror(errno)); in do_print_resource_record()
1487 fatal("Failed to read v2 public key from \"%s\": %s.", in do_print_resource_record()
1510 fatal("%s: %s", identity_file, strerror(errno)); in do_change_comment()
1515 fatal("Cannot load private key \"%s\": %s.", in do_change_comment()
1529 fatal("Cannot load private key \"%s\": %s.", in do_change_comment()
1580 fatal("sshkey_from_private failed: %s", ssh_err(r)); in do_change_comment()
1585 fatal("Unable to save public key to %s: %s", in do_change_comment()
1607 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in add_flag_option()
1618 fatal("%s: sshbuf_new failed", __func__); in add_string_option()
1622 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in add_string_option()
1680 fatal("Couldn't load CA public key \"%s\": %s", in load_pkcs11_key()
1687 fatal("cannot read public key from pkcs11"); in load_pkcs11_key()
1699 fatal("no pkcs11 support"); in load_pkcs11_key()
1736 fatal("No PKCS#11 key matching %s found", ca_key_path); in do_ca_sign()
1744 fatal("Cannot load CA public key %s: %s", in do_ca_sign()
1747 fatal("Cannot use public key for CA signature: %s", in do_ca_sign()
1750 fatal("Retrieve agent key list: %s", ssh_err(r)); in do_ca_sign()
1759 fatal("CA key %s not found in agent", tmp); in do_ca_sign()
1770 fatal("CA key type %s doesn't match specified %s", in do_ca_sign()
1788 fatal("Empty principal name"); in do_ca_sign()
1793 fatal("Too many certificate principals specified"); in do_ca_sign()
1797 fatal("%s: unable to open \"%s\": %s", in do_ca_sign()
1800 fatal("%s: key \"%s\" type %s cannot be certified", in do_ca_sign()
1805 fatal("Could not upgrade key %s to certificate: %s", in do_ca_sign()
1819 fatal("sshkey_from_private (ca key): %s", ssh_err(r)); in do_ca_sign()
1825 fatal("Couldn't certify key %s via agent: %s", in do_ca_sign()
1838 fatal("Couldn't certify key %s: %s", in do_ca_sign()
1848 fatal("Unable to save public key to %s: %s", in do_ca_sign()
1884 fatal("Invalid relative certificate time %s", s); in parse_relative_time()
1886 fatal("Certificate time %s cannot be represented", s); in parse_relative_time()
1900 fatal("Invalid relative certificate life %s", timespec); in parse_cert_times()
1918 fatal("Invalid certificate life specification %s", timespec); in parse_cert_times()
1926 fatal("Invalid from time \"%s\"", from); in parse_cert_times()
1933 fatal("Invalid to time \"%s\"", to); in parse_cert_times()
1936 fatal("Empty certificate validity interval"); in parse_cert_times()
1975 fatal("Empty force-command option"); in add_cert_option()
1977 fatal("force-command already specified"); in add_cert_option()
1982 fatal("Empty source-address option"); in add_cert_option()
1984 fatal("source-address already specified"); in add_cert_option()
1986 fatal("Invalid source-address list"); in add_cert_option()
2001 fatal("Unsupported certificate option \"%s\"", opt); in add_cert_option()
2012 fatal("%s: sshbuf_fromb failed", __func__); in show_options()
2018 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in show_options()
2032 fatal("%s: buffer error: %s", in show_options()
2043 fatal("Option corrupt: extra data at end"); in show_options()
2059 fatal("%s: sshkey_fingerprint fail", __func__); in print_cert()
2111 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_show_cert()
2119 fatal("fopen %s: %s", identity_file, strerror(errno)); in do_show_cert()
2130 fatal("sshkey_new"); in do_show_cert()
2160 fatal("Unable to load KRL: %s", ssh_err(r)); in load_krl()
2164 fatal("Invalid KRL file: %s", ssh_err(r)); in load_krl()
2178 fatal("%s:%lu: unsupported hash algorithm", file, lnum); in hash_to_blob()
2193 fatal("%s: sshbuf_new failed", __func__); in hash_to_blob()
2195 fatal("%s:%lu: decode hash failed: %s", file, lnum, ssh_err(r)); in hash_to_blob()
2222 fatal("fopen %s: %s", path, strerror(errno)); in update_krl_from_file()
2249 fatal("revoking certificates by serial number " in update_krl_from_file()
2257 fatal("%s:%lu: invalid serial \"%s\"", in update_krl_from_file()
2260 fatal("%s:%lu: serial out of range", in update_krl_from_file()
2268 fatal("%s:%lu: invalid serial \"%s\"", in update_krl_from_file()
2271 fatal("%s:%lu: serial out of range", in update_krl_from_file()
2274 fatal("%s:%lu: invalid serial range " in update_krl_from_file()
2281 fatal("%s: revoke serial failed", in update_krl_from_file()
2286 fatal("revoking certificates by key ID " in update_krl_from_file()
2292 fatal("%s: revoke key ID failed", __func__); in update_krl_from_file()
2299 fatal("%s: revoke key failed: %s", in update_krl_from_file()
2320 fatal("sshkey_new"); in update_krl_from_file()
2322 fatal("%s:%lu: invalid key: %s", in update_krl_from_file()
2329 fatal("%s:%lu: fingerprint failed", in update_krl_from_file()
2336 fatal("%s:%lu: fingerprint failed", in update_krl_from_file()
2343 fatal("%s: revoke key failed: %s", in update_krl_from_file()
2370 fatal("KRL generation requires an output file"); in do_gen_krl()
2373 fatal("Cannot access KRL \"%s\": %s", in do_gen_krl()
2376 fatal("KRL \"%s\" does not exist", identity_file); in do_gen_krl()
2384 fatal("Cannot load CA public key %s: %s", in do_gen_krl()
2393 fatal("couldn't create KRL"); in do_gen_krl()
2404 fatal("sshbuf_new failed"); in do_gen_krl()
2406 fatal("Couldn't generate KRL"); in do_gen_krl()
2408 fatal("write %s: %s", identity_file, strerror(errno)); in do_gen_krl()
2423 fatal("KRL checking requires an input file"); in do_check_krl()
2429 fatal("Cannot load public key %s: %s", in do_check_krl()
2518 fatal("%s: sshkey_fingerprint failed", __func__); in sign_one()
2593 fatal("Cannot sign mix of paths and standard input"); in sig_sign()
2677 fatal("%s: sshkey_fingerprint failed", __func__); in sig_verify()
2706 fatal("%s: sshkey_fingerprint failed", in sig_verify()
2791 fatal("Memory limit is %s: %s", in do_moduli_gen()
2797 fatal("Invalid start point."); in do_moduli_gen()
2802 fatal("Invalid number: %s (%s)", in do_moduli_gen()
2806 fatal("Option \"%s\" is unsupported for moduli " in do_moduli_gen()
2812 fatal("Couldn't open modulus candidate file \"%s\": %s", in do_moduli_gen()
2820 fatal("modulus candidate generation failed"); in do_moduli_gen()
2822 fatal("Moduli generation is not supported"); in do_moduli_gen()
2851 fatal("Generator invalid: %s (%s)", in do_moduli_screen()
2858 fatal("Invalid number: %s (%s)", in do_moduli_screen()
2862 fatal("Option \"%s\" is unsupported for moduli " in do_moduli_screen()
2869 fatal("Couldn't open modulus candidate " in do_moduli_screen()
2876 fatal("Couldn't open moduli file \"%s\": %s", in do_moduli_screen()
2883 fatal("modulus screening failed"); in do_moduli_screen()
2885 fatal("Moduli screening is not supported"); in do_moduli_screen()
2942 fatal("Cannot download keys without provider"); in do_download_sk()
2973 fatal("%s: sshkey_fingerprint failed", __func__); in do_download_sk()
3122 fatal("No user exists for uid %lu", (u_long)getuid()); in main()
3124 fatal("gethostname: %s", strerror(errno)); in main()
3140 fatal("Bits has bad value %s (%s)", in main()
3146 fatal("Invalid hash algorithm \"%s\"", optarg); in main()
3187 fatal("Unsupported conversion format \"%s\"", optarg); in main()
3203 fatal("Identity filename too long"); in main()
3284 fatal("Invalid number: %s (%s)", in main()
3305 fatal("Invalid serial number \"%s\"", optarg); in main()
3313 fatal("Unsupported moduli option %s", optarg); in main()
3426 fatal("Must specify key id (-I) when certifying"); in main()
3445 fatal("Option \"%s\" is unsupported for " in main()
3464 fatal("key conversion disabled at compile time"); in main()
3475 fatal("%s: %s", identity_file, strerror(errno)); in main()
3495 fatal("no keys found."); in main()
3502 fatal("No output file specified"); in main()
3504 fatal("Too many output files specified"); in main()
3544 fatal("Unable to load FIDO enrollment " in main()
3555 fatal("FIDO application string must " in main()
3559 fatal("Option \"%s\" is unsupported for " in main()
3569 fatal("sshbuf_new failed"); in main()
3579 fatal("Key enrollment failed: %s", ssh_err(r)); in main()
3587 fatal("Too many incorrect PINs"); in main()
3598 fatal("sshkey_generate failed"); in main()
3602 fatal("sshkey_from_private failed: %s\n", ssh_err(r)); in main()
3653 fatal("Unable to save public key to %s: %s", in main()
3663 fatal("sshkey_fingerprint failed"); in main()
3676 fatal("Enrollment did not return attestation " in main()
3680 fatal("Unable to write attestation certificate " in main()