Lines Matching defs:krl
59 #include "krl.h"
1991 fatal("Unable to load KRL: %s", ssh_err(r));
1996 fatal("Invalid KRL file: %s", ssh_err(r));
2002 const struct sshkey *ca, struct ssh_krl *krl)
2074 if (ssh_krl_revoke_cert_by_serial_range(krl,
2086 if (ssh_krl_revoke_cert_by_key_id(krl, ca, cp) != 0)
2109 r = ssh_krl_revoke_key_explicit(krl, key);
2111 r = ssh_krl_revoke_key_sha1(krl, key);
2113 r = ssh_krl_revoke_key(krl, key);
2128 struct ssh_krl *krl;
2136 fatal("KRL generation requires an output file");
2139 fatal("Cannot access KRL \"%s\": %s",
2142 fatal("KRL \"%s\" does not exist", identity_file);
2157 load_krl(identity_file, &krl);
2158 else if ((krl = ssh_krl_init()) == NULL)
2159 fatal("couldn't create KRL");
2162 ssh_krl_set_version(krl, cert_serial);
2164 ssh_krl_set_comment(krl, identity_comment);
2167 update_krl_from_file(pw, argv[i], wild_ca, ca, krl);
2171 if (ssh_krl_to_blob(krl, kbuf, NULL, 0) != 0)
2172 fatal("Couldn't generate KRL");
2180 ssh_krl_free(krl);
2189 struct ssh_krl *krl;
2193 fatal("KRL checking requires an input file");
2194 load_krl(identity_file, &krl);
2199 r = ssh_krl_check_key(krl, k);
2208 ssh_krl_free(krl);