Home
last modified time | relevance | path

Searched refs:pubkeyfile (Results 1 – 25 of 66) sorted by relevance

123

/dports/security/signify/outils-0.10/src/usr.bin/signify/
H A Dsignify.c371 if (pubkeyfile != NULL) { in check_keyname_compliance()
372 pos = strrchr(pubkeyfile, '/'); in check_keyname_compliance()
374 pubkeyfile = pos + 1; in check_keyname_compliance()
376 if (strlen(pubkeyfile) != len) in check_keyname_compliance()
503 if (!(p = strrchr(pubkeyfile, '-'))) in check_keytype()
524 if (!pubkeyfile) { in readpubkey()
526 if (pubkeyfile && strchr(pubkeyfile, '/') == NULL) { in readpubkey()
527 pubkeyfile += strlen(VERIFYWITH); in readpubkey()
533 pubkeyfile = keypath; in readpubkey()
828 pubkeyfile = optarg; in main()
[all …]
/dports/security/asignify/asignify-1.0/src/
H A Dverify.c61 const char *pubkeyfile = NULL, *sigfile = NULL; in cli_verify() local
68 pubkeyfile = argv[1]; in cli_verify()
72 if (!asignify_verify_load_pubkey(vrf, pubkeyfile)) { in cli_verify()
73 fprintf(stderr, "cannot load pubkey %s: %s\n", pubkeyfile, in cli_verify()
115 const char *pubkeyfile = NULL, *sigfile = NULL; in cli_check() local
122 pubkeyfile = argv[1]; in cli_check()
126 if (!asignify_verify_load_pubkey(vrf, pubkeyfile)) { in cli_check()
127 fprintf(stderr, "cannot load pubkey %s: %s\n", pubkeyfile, in cli_check()
H A Dencrypt.c90 const char *seckeyfile = NULL, *pubkeyfile = NULL, in cli_encrypt() local
123 pubkeyfile = argv[1]; in cli_encrypt()
136 if (!asignify_encrypt_load_pubkey(enc, pubkeyfile)) { in cli_encrypt()
137 fprintf(stderr, "cannot load public key %s: %s\n", pubkeyfile, in cli_encrypt()
168 infile, seckeyfile, pubkeyfile, outfile); in cli_encrypt()
173 infile, seckeyfile, pubkeyfile, outfile); in cli_encrypt()
H A Dgenerate.c101 const char *seckeyfile = NULL, *pubkeyfile = NULL, *sshkeyfile = NULL; in cli_generate() local
132 pubkeyfile = pubkeybuf; in cli_generate()
136 pubkeyfile = argv[1]; in cli_generate()
165 if (!asignify_generate(seckeyfile, pubkeyfile, 1, rounds, in cli_generate()
172 if (!asignify_generate(seckeyfile, pubkeyfile, 1, 0, in cli_generate()
181 rounds > 0 ? "Encrypted" : "Unencrypted", seckeyfile, pubkeyfile); in cli_generate()
/dports/devel/pear-phing/phing-2.6.1/tasks/ext/ssh/
H A DSshTask.php40 private $pubkeyfile = ''; variable in SshTask
101 public function setPubkeyfile($pubkeyfile) argument
103 $this->pubkeyfile = $pubkeyfile;
111 return $this->pubkeyfile;
224 if ( $this->pubkeyfile ) {
225 …uth = ssh2_auth_pubkey_file($this->connection, $this->username, $this->pubkeyfile, $this->privkeyf…
H A DScpTask.php50 protected $pubkeyfile = ''; variable in ScpTask
163 public function setPubkeyfile($pubkeyfile) argument
165 $this->pubkeyfile = $pubkeyfile;
173 return $this->pubkeyfile;
355 if ( $this->pubkeyfile ) {
356 …uth = ssh2_auth_pubkey_file($this->connection, $this->username, $this->pubkeyfile, $this->privkeyf…
/dports/security/reop/reop-2.1.0/
H A Dreop.c524 if (!pubkeyfile && ident) { in getpubkey()
531 if (!pubkeyfile) in getpubkey()
532 pubkeyfile = gethomefile("pubkey"); in getpubkey()
634 if (!pubkeyfile) in generate()
635 pubkeyfile = gethomefile("pubkey"); in generate()
715 getpubkey(pubkeyfile, ident, &pubkey); in verifysimple()
1168 pubkeyfile = optarg; in main()
1226 if (pubkeyfile || ident) { in main()
1239 if ((!pubkeyfile && seckeyfile) || in main()
1240 (!seckeyfile && pubkeyfile)) in main()
[all …]
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/thecodingmachine/safe/generated/
H A Dssh2.php33 * @param string $pubkeyfile
42 function ssh2_auth_hostbased_file($session, string $username, string $hostname, string $pubkeyfile,… argument
46 …$result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile, $pa…
48 …$result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile, $pa…
50 … $result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile);
85 …* @param string $pubkeyfile The public key file needs to be in OpenSSH's format. It should look so…
94 function ssh2_auth_pubkey_file($session, string $username, string $pubkeyfile, string $privkeyfile,… argument
98 … $result = \ssh2_auth_pubkey_file($session, $username, $pubkeyfile, $privkeyfile, $passphrase);
100 $result = \ssh2_auth_pubkey_file($session, $username, $pubkeyfile, $privkeyfile);
/dports/www/nextcloud/nextcloud/3rdparty/thecodingmachine/safe/generated/
H A Dssh2.php33 * @param string $pubkeyfile
42 function ssh2_auth_hostbased_file($session, string $username, string $hostname, string $pubkeyfile,… argument
46 …$result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile, $pa…
48 …$result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile, $pa…
50 … $result = \ssh2_auth_hostbased_file($session, $username, $hostname, $pubkeyfile, $privkeyfile);
85 …* @param string $pubkeyfile The public key file needs to be in OpenSSH's format. It should look so…
94 function ssh2_auth_pubkey_file($session, string $username, string $pubkeyfile, string $privkeyfile,… argument
98 … $result = \ssh2_auth_pubkey_file($session, $username, $pubkeyfile, $privkeyfile, $passphrase);
100 $result = \ssh2_auth_pubkey_file($session, $username, $pubkeyfile, $privkeyfile);
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/
H A Dtest_cryptography.py254 with open(keyfilename + '.pub', "w+b") as pubkeyfile:
255 pubkeyfile.write(pair1.public_key)
299 with open(keyfilename + '.pub', "w+b") as pubkeyfile:
300 pubkeyfile.write(pair.public_key)
330 with open(keyfilename + '.pub', "w+b") as pubkeyfile:
331 pubkeyfile.write(pair2.public_key)
374 with open(v['filename'] + '.pub', "w+b") as pubkeyfile:
375 pubkeyfile.write(v['pair'].public_key)
/dports/sysutils/cfengine/cfengine-3.19.0/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/sysutils/cfengine317/cfengine-3.17.0/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/sysutils/cfengine316/cfengine-3.16.0/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/sysutils/cfengine318/cfengine-3.18.1/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/sysutils/cfengine319/cfengine-3.19.0/libpromises/
H A Dcrypto.c220 char *pubkeyfile = NULL; in LoadSecretKeys() local
223 pubkeyfile = PublicKeyFile(GetWorkDir()); in LoadSecretKeys()
225 FILE *fp = safe_fopen(pubkeyfile != NULL ? pubkeyfile : pub_key_path, "r"); in LoadSecretKeys()
231 pubkeyfile != NULL ? pubkeyfile : pub_key_path, GetErrorStr()); in LoadSecretKeys()
232 free(pubkeyfile); in LoadSecretKeys()
251 pubkeyfile, CryptoLastErrorString()); in LoadSecretKeys()
253 free(pubkeyfile); in LoadSecretKeys()
257 Log(LOG_LEVEL_VERBOSE, "Loaded public key '%s'", pubkeyfile); in LoadSecretKeys()
258 free(pubkeyfile); in LoadSecretKeys()
/dports/benchmarks/iperf3/iperf-3.10.1/src/
H A Dt_auth.c76 const char *pubkeyfile = "public.pem"; in main() local
80 assert(test_load_pubkey_from_file(pubkeyfile) == 0); in main()
85 pubkey = load_pubkey_from_file(pubkeyfile); in main()
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libssh2-sys-0.2.23/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/security/libssh2/libssh2-1.10.0/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libssh2-sys-0.2.21/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/devel/gbump/gbump-1.0.1/cargo-crates/libssh2-sys-0.2.13/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
121 … if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, privkeyfile, password)) { in main()
/dports/devel/cargo-generate/cargo-generate-0.9.0/cargo-crates/libssh2-sys-0.2.21/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/libssh2-sys-0.2.23/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/lang/rust/rustc-1.58.1-src/vendor/libssh2-sys/libssh2/tests/
H A Dssh2.c42 const char *pubkeyfile = "etc/user.pub"; in main() local
69 pubkeyfile = getenv("PUBKEY"); in main()
124 if(libssh2_userauth_publickey_fromfile(session, username, pubkeyfile, in main()
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/utilities/updatesigner/
H A Dsigner.cpp154 QFile pubkeyfile( m_pubkeyFilename ); in checkSignature() local
155 if ( !pubkeyfile.open( QIODevice::ReadOnly ) ) in checkSignature()
160 QString pubkeystring = pubkeyfile.readAll(); in checkSignature()
161 pubkeyfile.close(); in checkSignature()

123