/minix/crypto/external/bsd/netpgp/dist/tests/ |
H A D | userid.at | 1 # $NetBSD: userid.at,v 1.1 2009/06/13 05:25:09 agc Exp $ 3 AT_SETUP([tests with no default userid in gpg.conf]) 18 # sign with an explicit userid, no default in gpg.conf 19 AT_CHECK([netpgp --homedir $testhomedir --userid $testuserid --sign file3], 22 # test with no userid
|
H A D | testsuite.at | 7 m4_include([userid.at])
|
/minix/crypto/external/bsd/netpgp/dist/bindings/tcl/ |
H A D | netpgp.tcl | 13 set userid [netpgp_getvar $n "userid"] 14 netpgp_sign_file $n $userid "a" "a.gpg" 0 0 0
|
/minix/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | netpgp.c | 131 id[(i * 2) + 1] = hexes[userid[i] & 0xf]; in userid_to_id() 431 if (userid == NULL) { in resolve_userid() 433 if (userid == NULL) in resolve_userid() 435 } else if (userid[0] == '0' && userid[1] == 'x') { in resolve_userid() 436 userid += 2; in resolve_userid() 774 char *userid; in netpgp_init() local 896 if (userid == NULL) { in netpgp_init() 1259 const char *userid, in netpgp_encrypt_file() argument 1326 const char *userid, in netpgp_sign_file() argument 1455 const char *userid, in netpgp_sign_memory() argument [all …]
|
H A D | keyring.c | 448 pgp_add_userid(pgp_key_t *key, const uint8_t *userid) in pgp_add_userid() argument 457 return copy_userid(uidp, userid); in pgp_add_userid() 491 pgp_add_selfsigned_userid(pgp_key_t *key, uint8_t *userid) in pgp_add_selfsigned_userid() argument 506 pgp_write_struct_userid(useridoutput, userid); in pgp_add_selfsigned_userid() 524 (void) pgp_add_userid(key, userid); in pgp_add_selfsigned_userid() 856 str2keyid(const char *userid, uint8_t *keyid, size_t len) in str2keyid() argument 867 for (i = 0, j = 0 ; j < len && userid[i] && userid[i + 1] ; i += 2, j++) { in str2keyid() 868 if ((hi = strchr(uppers, userid[i])) == NULL) { in str2keyid() 869 if ((hi = strchr(lowers, userid[i])) == NULL) { in str2keyid() 876 if ((lo = strchr(uppers, userid[i + 1])) == NULL) { in str2keyid() [all …]
|
H A D | ssh2pgp.c | 212 uint8_t *userid; in pgp_ssh2pubkey() local 313 (void) memset(&userid, 0x0, sizeof(userid)); in pgp_ssh2pubkey() 323 (void) pgp_asprintf((char **)(void *)&userid, in pgp_ssh2pubkey() 329 pgp_add_userid(key, userid); in pgp_ssh2pubkey() 331 free(userid); in pgp_ssh2pubkey()
|
H A D | validate.h | 67 uint8_t *userid; member
|
H A D | validate.c | 277 if (key->userid) { in pgp_validate_key_cb() 278 pgp_userid_free(&key->userid); in pgp_validate_key_cb() 280 key->userid = content->userid; in pgp_validate_key_cb() 327 key->userid, in pgp_validate_key_cb() 717 pgp_userid_free(&keysigs.userid); in pgp_validate_key_sigs()
|
H A D | create.c | 125 pgp_fast_create_userid(uint8_t **id, uint8_t *userid) in pgp_fast_create_userid() argument 127 *id = userid; in pgp_fast_create_userid() 154 pgp_write_userid(const uint8_t *userid, pgp_output_t *output) in pgp_write_userid() argument 156 return pgp_write_struct_userid(output, userid); in pgp_write_userid()
|
H A D | packet.h | 821 uint8_t *userid; member 932 uint8_t **userid; member
|
H A D | openssl_crypto.c | 799 uint8_t *userid, in pgp_rsa_new_selfsign_key() argument 807 !pgp_add_selfsigned_userid(keydata, userid)) { in pgp_rsa_new_selfsign_key()
|
H A D | misc.c | 131 content->userid, in accumulate_cb() 138 pgp_add_userid(&keyring->keys[keyring->keyc - 1], content->userid); in accumulate_cb()
|
/minix/crypto/external/bsd/netpgp/dist/bindings/python/ |
H A D | netpgp.py | 12 userid = _netpgppython.netpgp_getvar(n, "userid") variable 13 _netpgppython.netpgp_sign_file(n, userid, "a", "a.gpg", 0, 0, 0)
|
/minix/crypto/external/bsd/netpgp/dist/bindings/perl/ |
H A D | netpgp.pl | 16 $userid = netpgpperlc::netpgp_getvar($n, "userid"); 24 netpgpperlc::netpgp_sign_file($n, $userid, $in, $out, 0, 0, 0);
|
/minix/crypto/external/bsd/netpgp/dist/src/libpaa/ |
H A D | libpaa.h | 61 const char *userid; /* identity to be used for signature */ member 71 char userid[32]; /* verified identity */ member
|
H A D | libpaa.c | 106 (void) snprintf(id->userid, sizeof(id->userid), "%.*s", in fill_identity() 250 response->userid = netpgp_getvar(netpgp, "userid"); in paa_format_response() 251 outc += snprintf(&out[outc], outsize - outc, " id=\"%s\"", response->userid); in paa_format_response() 256 (void) snprintf(sig, sizeof(sig), "%s;%s;%s;", response->userid, response->realm, challenge); in paa_format_response() 257 sigc = netpgp_sign_memory(netpgp, response->userid, challenge, in paa_format_response() 351 id->userid, in paa_print_identity()
|
/minix/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
H A D | libverify.c | 1297 memset(userid, 0x0, sizeof(*userid)); in recog_userid() 1303 userid->userid.size = pkt->s.size; in recog_userid() 1304 userid->userid.data = pkt->s.data; in recog_userid() 1452 pgpv_signed_userid_t *userid; in fmt_userid() local 1456 (int)userid->userid.size, userid->userid.data, in fmt_userid() 1478 pgpv_signed_userid_t *userid; in fmt_primary() local 2071 pgpv_signed_userid_t userid; in recog_primary_key() local 2104 if (userid.primary_userid) { in recog_primary_key() 2238 pgpv_signed_userid_t userid; in read_ssh_file() local 2354 memset(&userid, 0x0, sizeof(userid)); in read_ssh_file() [all …]
|
H A D | verify.h | 199 pgpv_string_t userid; member 217 pgpv_string_t userid; member
|
/minix/crypto/external/bsd/netpgp/dist/src/hkpclient/ |
H A D | hkpc.c | 87 …**info, const char *server, const int port, const int family, const char *type, const char *userid) in hkpc_get() argument 98 cc = snprintf(buf, sizeof(buf), "GET /pks/lookup?op=%s&search=%s&options=json", type, userid); in hkpc_get()
|
/minix/external/bsd/top/dist/ |
H A D | username.h | 40 int userid(char *username);
|
H A D | username.c | 138 userid(char *xusername) in userid() function
|
/minix/crypto/external/bsd/netpgp/dist/src/libverify/ |
H A D | libverify.c | 1150 pkt.u.userid.size = pkt.s.size; in read_pkt() 1151 pkt.u.userid.data = pkt.s.data; in read_pkt() 1227 memset(userid, 0x0, sizeof(*userid)); in recog_userid() 1233 userid->userid.size = pkt->s.size; in recog_userid() 1234 userid->userid.data = pkt->s.data; in recog_userid() 1381 pgpv_signed_userid_t *userid; in fmt_userid() local 1385 (int)userid->userid.size, userid->userid.data, in fmt_userid() 1953 pgpv_signed_userid_t userid; in recog_primary_key() local 1981 if (!recog_userid(pgp, &userid)) { in recog_primary_key() 1986 if (userid.primary_userid) { in recog_primary_key() [all …]
|
H A D | verify.h | 197 pgpv_string_t userid; member 215 pgpv_string_t userid; member
|
/minix/crypto/external/bsd/netpgp/dist/ |
H A D | TODO | 43 init(&netpgp, userid, pubring, secring) 74 failure to run if no userid in gpg.conf (even if --userid specified)
|
/minix/bin/rcp/ |
H A D | rcp.c | 76 uid_t userid; variable 145 if ((pwd = getpwuid(userid = getuid())) == NULL) in main() 146 errx(1, "unknown user %d", (int)userid); in main()
|