Lines Matching full:fatal
200 fatal("unknown key type %s", key_type_name); in type_bits_valid()
219 fatal("key bits exceeds maximum %d", maxbits); in type_bits_valid()
221 fatal("DSA keys must be 1024 bits"); in type_bits_valid()
223 fatal("Key must at least be 1024 bits"); in type_bits_valid()
225 fatal("Invalid ECDSA key length - valid lengths are " in type_bits_valid()
262 fatal("bad key type"); in ask_filename()
287 fatal("Load key \"%s\": %s", filename, ssh_err(r)); in load_identity()
296 fatal("Load key \"%s\": %s", filename, ssh_err(r)); in load_identity()
315 fatal("version 1 keys are not supported"); in do_convert_to_ssh2()
317 fatal("key_to_blob failed: %s", ssh_err(r)); in do_convert_to_ssh2()
340 fatal("PEM_write_RSA_PUBKEY failed"); in do_convert_to_pkcs8()
344 fatal("PEM_write_DSA_PUBKEY failed"); in do_convert_to_pkcs8()
349 fatal("PEM_write_EC_PUBKEY failed"); in do_convert_to_pkcs8()
353 fatal("%s: unsupported key type %s", __func__, sshkey_type(k)); in do_convert_to_pkcs8()
365 fatal("PEM_write_RSAPublicKey failed"); in do_convert_to_pem()
370 fatal("PEM_write_DSAPublicKey failed"); in do_convert_to_pem()
375 fatal("%s: unsupported key type %s", __func__, sshkey_type(k)); in do_convert_to_pem()
390 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_to()
404 fatal("%s: unknown key format %d", __func__, convert_format); in do_convert_to()
420 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in buffer_get_bignum_bits()
423 fatal("%s: input buffer too small: need %d have %zu", in buffer_get_bignum_bits()
426 fatal("%s: BN_bin2bn failed", __func__); in buffer_get_bignum_bits()
428 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in buffer_get_bignum_bits()
444 fatal("%s: sshbuf_from failed", __func__); in do_convert_private_ssh2_from_blob()
446 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2_from_blob()
460 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2_from_blob()
481 fatal("key_new_private failed"); in do_convert_private_ssh2_from_blob()
496 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in do_convert_private_ssh2_from_blob()
518 fatal("generate RSA parameters failed: %s", ssh_err(r)); in do_convert_private_ssh2_from_blob()
547 fatal("input line too long."); in get_line()
552 fatal("unget: %s", strerror(errno)); in get_line()
575 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_ssh2()
605 fatal("uudecode failed."); in do_convert_from_ssh2()
609 fatal("decode blob failed: %s", ssh_err(r)); in do_convert_from_ssh2()
620 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pkcs8()
622 fatal("%s: %s is not a recognised public key format", __func__, in do_convert_from_pkcs8()
629 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
635 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
642 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
649 fatal("%s: unsupported pubkey type %d", __func__, in do_convert_from_pkcs8()
666 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from_pem()
669 fatal("sshkey_new failed"); in do_convert_from_pem()
679 fatal("sshkey_new failed"); in do_convert_from_pem()
687 fatal("%s: unrecognised raw private key format", __func__); in do_convert_from_pem()
700 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_convert_from()
713 fatal("%s: unknown key format %d", __func__, convert_format); in do_convert_from()
738 fatal("%s: unsupported key type %s", __func__, in do_convert_from()
744 fatal("key write failed"); in do_convert_from()
760 fatal("%s: %s", identity_file, strerror(errno)); in do_print_public()
785 fatal("cannot read public key from pkcs11"); in do_download()
792 fatal("%s: sshkey_fingerprint fail", __func__); in do_download()
809 fatal("no pkcs11 support"); in do_download()
820 fatal("sshkey_new failed"); in try_read_key()
827 fatal("sshkey_new failed"); in try_read_key()
847 fatal("%s: sshkey_fingerprint failed", __func__); in fingerprint_one_key()
865 fatal("%s: %s", path, strerror(errno)); in fingerprint_private()
871 fatal("%s is not a key file.", path); in fingerprint_private()
898 fatal("%s: %s: %s", __progname, path, strerror(errno)); in do_fingerprint()
968 fatal("%s is not a public key file.", path); in do_fingerprint()
1027 fatal("sshkey_from_private failed: %s", ssh_err(r)); in do_gen_all_hostkeys()
1113 fatal("hash_host failed"); in known_hosts_hash()
1202 fatal("Specified known hosts path too long"); in do_known_hosts()
1220 fatal("known_hosts path too long"); in do_known_hosts()
1223 fatal("mkstemp: %s", strerror(errno)); in do_known_hosts()
1227 fatal("fdopen: %s", strerror(oerrno)); in do_known_hosts()
1240 fatal("%s: hostkeys_foreach failed: %s", __func__, ssh_err(r)); in do_known_hosts()
1261 fatal("unlink %.100s: %s", old, strerror(errno)); in do_known_hosts()
1263 fatal("link %.100s to %.100s: %s", identity_file, old, in do_known_hosts()
1302 fatal("%s: %s", identity_file, strerror(errno)); in do_change_passphrase()
1320 fatal("Failed to load key %s: %s", identity_file, ssh_err(r)); in do_change_passphrase()
1383 fatal("%s: no filename", __func__); in do_print_resource_record()
1387 fatal("%s: %s", fname, strerror(errno)); in do_print_resource_record()
1390 fatal("Failed to read v2 public key from \"%s\": %s.", in do_print_resource_record()
1414 fatal("%s: %s", identity_file, strerror(errno)); in do_change_comment()
1419 fatal("Cannot load private key \"%s\": %s.", in do_change_comment()
1434 fatal("Cannot load private key \"%s\": %s.", in do_change_comment()
1479 fatal("key_from_private failed: %s", ssh_err(r)); in do_change_comment()
1485 fatal("Could not save your public key in %s", identity_file); in do_change_comment()
1488 fatal("fdopen %s failed: %s", identity_file, strerror(errno)); in do_change_comment()
1490 fatal("write key failed: %s", ssh_err(r)); in do_change_comment()
1509 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in add_flag_option()
1520 fatal("%s: sshbuf_new failed", __func__); in add_string_option()
1524 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in add_string_option()
1566 fatal("Couldn't load CA public key \"%s\": %s", in load_pkcs11_key()
1572 fatal("cannot read public key from pkcs11"); in load_pkcs11_key()
1584 fatal("no pkcs11 support"); in load_pkcs11_key()
1603 fatal("No PKCS#11 key matching %s found", ca_key_path); in do_ca_sign()
1610 fatal("CA key type %s doesn't match specified %s", in do_ca_sign()
1623 fatal("Empty principal name"); in do_ca_sign()
1630 fatal("%s: unable to open \"%s\": %s", in do_ca_sign()
1634 fatal("%s: key \"%s\" type %s cannot be certified", in do_ca_sign()
1639 fatal("Could not upgrade key %s to certificate: %s", in do_ca_sign()
1653 fatal("key_from_private (ca key): %s", ssh_err(r)); in do_ca_sign()
1656 fatal("Couldn't certify key %s: %s", tmp, ssh_err(r)); in do_ca_sign()
1664 fatal("Could not open \"%s\" for writing: %s", out, in do_ca_sign()
1667 fatal("%s: fdopen: %s", __func__, strerror(errno)); in do_ca_sign()
1669 fatal("Could not write certified key to %s: %s", in do_ca_sign()
1703 fatal("Invalid relative certificate time %s", s); in parse_relative_time()
1705 fatal("Certificate time %s cannot be represented", s); in parse_relative_time()
1732 fatal("Invalid certificate time format %s", s); in parse_absolute_time()
1737 fatal("Invalid certificate time %s", s); in parse_absolute_time()
1739 fatal("Certificate time %s cannot be represented", s); in parse_absolute_time()
1753 fatal("Invalid relative certificate life %s", timespec); in parse_cert_times()
1771 fatal("Invalid certificate life specification %s", timespec); in parse_cert_times()
1785 fatal("Empty certificate validity interval"); in parse_cert_times()
1819 fatal("Empty force-command option"); in add_cert_option()
1821 fatal("force-command already specified"); in add_cert_option()
1826 fatal("Empty source-address option"); in add_cert_option()
1828 fatal("source-address already specified"); in add_cert_option()
1830 fatal("Invalid source-address list"); in add_cert_option()
1833 fatal("Unsupported certificate option \"%s\"", opt); in add_cert_option()
1844 fatal("%s: sshbuf_fromb failed", __func__); in show_options()
1850 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in show_options()
1863 fatal("%s: buffer error: %s", in show_options()
1874 fatal("Option corrupt: extra data at end"); in show_options()
1890 fatal("%s: sshkey_fingerprint fail", __func__); in print_cert()
1940 fatal("%s: %s: %s", __progname, identity_file, strerror(errno)); in do_show_cert()
1948 fatal("fopen %s: %s", identity_file, strerror(errno)); in do_show_cert()
1958 fatal("key_new"); in do_show_cert()
1987 fatal("sshbuf_new failed"); in load_krl()
1989 fatal("open %s: %s", path, strerror(errno)); in load_krl()
1991 fatal("Unable to load KRL: %s", ssh_err(r)); in load_krl()
1996 fatal("Invalid KRL file: %s", ssh_err(r)); in load_krl()
2017 fatal("fopen %s: %s", path, strerror(errno)); in update_krl_from_file()
2044 fatal("revoking certificates by serial number " in update_krl_from_file()
2052 fatal("%s:%lu: invalid serial \"%s\"", in update_krl_from_file()
2055 fatal("%s:%lu: serial out of range", in update_krl_from_file()
2063 fatal("%s:%lu: invalid serial \"%s\"", in update_krl_from_file()
2066 fatal("%s:%lu: serial out of range", in update_krl_from_file()
2069 fatal("%s:%lu: invalid serial range " in update_krl_from_file()
2076 fatal("%s: revoke serial failed", in update_krl_from_file()
2081 fatal("revoking certificates by key ID " in update_krl_from_file()
2087 fatal("%s: revoke key ID failed", __func__); in update_krl_from_file()
2104 fatal("key_new"); in update_krl_from_file()
2106 fatal("%s:%lu: invalid key: %s", in update_krl_from_file()
2115 fatal("%s: revoke key failed: %s", in update_krl_from_file()
2136 fatal("KRL generation requires an output file"); in do_gen_krl()
2139 fatal("Cannot access KRL \"%s\": %s", in do_gen_krl()
2142 fatal("KRL \"%s\" does not exist", identity_file); in do_gen_krl()
2150 fatal("Cannot load CA public key %s: %s", in do_gen_krl()
2159 fatal("couldn't create KRL"); in do_gen_krl()
2170 fatal("sshbuf_new failed"); in do_gen_krl()
2172 fatal("Couldn't generate KRL"); in do_gen_krl()
2174 fatal("open %s: %s", identity_file, strerror(errno)); in do_gen_krl()
2177 fatal("write %s: %s", identity_file, strerror(errno)); in do_gen_krl()
2193 fatal("KRL checking requires an input file"); in do_check_krl()
2197 fatal("Cannot load public key %s: %s", in do_check_krl()
2300 fatal("No user exists for uid %lu", (u_long)getuid()); in main()
2302 fatal("gethostname: %s", strerror(errno)); in main()
2315 fatal("Bits has bad value %s (%s)", in main()
2321 fatal("Invalid hash algorithm \"%s\"", optarg); in main()
2360 fatal("Unsupported conversion format \"%s\"", optarg); in main()
2376 fatal("Identity filename too long"); in main()
2450 fatal("Invalid number: %s (%s)", in main()
2461 fatal("Invalid serial number \"%s\"", optarg); in main()
2469 fatal("Output filename too long"); in main()
2479 fatal("Checkpoint filename too long"); in main()
2486 fatal("Memory limit is %s: %s", errstr, optarg); in main()
2491 fatal("Invalid start point."); in main()
2497 fatal("Output filename too long"); in main()
2503 fatal("Desired generator invalid: %s (%s)", in main()
2546 fatal("Must specify key id (-I) when certifying"); in main()
2576 fatal("%s: %s", identity_file, strerror(errno)); in main()
2589 fatal("no keys found."); in main()
2606 fatal("modulus candidate generation failed"); in main()
2617 fatal("Couldn't open modulus candidate " in main()
2625 fatal("Couldn't open moduli file \"%s\": %s", in main()
2631 fatal("modulus screening failed"); in main()
2651 fatal("key_generate failed"); in main()
2653 fatal("key_from_private failed: %s\n", ssh_err(r)); in main()
2741 fatal("Unable to save public key to %s: %s", in main()
2744 fatal("fdopen %s failed: %s", identity_file, strerror(errno)); in main()
2756 fatal("sshkey_fingerprint failed"); in main()