Displaying 2 results from an estimated 2 matches for "sshkey_private_to_fileblob".
2015 Mar 22
5
[Bug 2369] New: `ssh-keygen -A` errors on RSA1 when building with SSH1 disabled
...: Portable OpenSSH
Version: 6.9p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: ssh-keygen
Assignee: unassigned-bugs at mindrot.org
Reporter: vapier at gentoo.org
sshkey.c:sshkey_private_to_fileblob disables support for RSA1 when SSH1
support has been disabled:
switch (key->type) {
#ifdef WITH_SSH1
case KEY_RSA1:
return sshkey_private_rsa1_to_blob(key, blob,
passphrase, comment);
#endif /* WITH_SSH1 */
but ssh-keygen.c will still include RSA1:
static void
do_gen...
2020 Apr 25
2
[PATCH 1/3] Add private key protection information extraction to ssh-keygen
...har *kdfname;
+?? ?int rounds;
+};
+struct sshkey_vault?? ?*sshkey_vault_new();
+void?? ??? ?sshkey_vault_free(struct sshkey_vault *);
+
?struct sshkey?? ?*sshkey_new(int);
?void?? ??? ? sshkey_free(struct sshkey *);
?int?? ??? ? sshkey_equal_public(const struct sshkey *,
@@ -258,7 +270,7 @@ int?? ?sshkey_private_to_fileblob(struct sshkey
*key, struct sshbuf *blob,
?int?? ?sshkey_parse_private_fileblob(struct sshbuf *buffer,
???? const char *passphrase, struct sshkey **keyp, char **commentp);
?int?? ?sshkey_parse_private_fileblob_type(struct sshbuf *blob, int type,
-??? const char *passphrase, struct sshkey **keyp, cha...