Displaying 5 results from an estimated 5 matches for "key_fingerprint_raw".
2001 Mar 04
1
bubblebabble patch
...num
digest_representation dgst_representation);
char *key_fingerprint(Key *k);
char *key_type(Key *k);
int key_write(Key *key, FILE *f);
--- ./openssh-2.5.1/key_original.c Sun Mar 4 00:48:41 2001
+++ ./openssh-2.5.1/key.c Sun Mar 4 01:07:21 2001
@@ -153,6 +153,179 @@
return 0;
}
+u_char*
+key_fingerprint_raw(Key *k, enum digest_type dgst_type, size_t
*dgst_raw_length)
+{
+ u_char *blob = NULL;
+ u_char* retval = NULL;
+ int len = 0;
+ int nlen, elen;
+
+ switch (k->type) {
+ case KEY_RSA1:
+ nlen = BN_num_bytes(k->rsa->n);
+ elen...
2014 Apr 17
1
OpenSSH 6.4, "ssh-add -l", output to non-tty
...fd7f0,0x2f)
63697 ssh-add GIO fd 2 wrote 47 bytes
"key_from_blob: remaining bytes in key blob 36\r
"
63697 ssh-add RET write 47/0x2f
63697 ssh-add CALL write(0x2,0x7fffffffd880,0x32)
63697 ssh-add GIO fd 2 wrote 50 bytes
"key_fingerprint: null from key_fingerprint_raw()\r
"
63697 ssh-add RET write 50/0x32
63697 ssh-add CALL exit(0xff)
----------------------------8< cut here >8------------------------------
% ktrace ssh-add -l 2>/dev/null | cat
----------------------------8< cut here >8------------------------------
64004 ssh-a...
2005 Nov 22
1
[PATCH] Introducing Zero-Knowledge user authentication
Hello!
With this email we release an extension to OpenSSH that was initially
developed as project for our studies at the Univerity of Applied Sciences in
Hagenberg.
First we would like to describe the purpose of using Zero-Knowledge (ZK) for
user authentication. Traditional authentication methods like
challenge-response with passwords or public keys leak information about the
credentials of
2002 Jan 24
1
PATCH: krb4/krb5/... names/patterns in auth_keys entries
...t;name_type : "");
+ return 0;
+ }
+
+ debug3("key_match: trying to match %s WITH %s", a->name, b->name);
+ if (a->type == KEY_NAME_PAT)
+ return match_pattern(b->name, a->name);
+ else
+ return match_pattern(a->name, b->name);
+}
+
static u_char*
key_fingerprint_raw(Key *k, enum fp_type dgst_type, size_t *dgst_raw_length)
@@ -161,7 +226,7 @@
EVP_MD_CTX ctx;
u_char *blob = NULL;
u_char *retval = NULL;
- int len = 0;
+ u_int len = 0;
int nlen, elen;
*dgst_raw_length = 0;
@@ -364,11 +429,12 @@
{
Key *k;
int success = -1;
- char *cp, *space;
+ cha...
2001 Aug 15
0
[ossh patch] principal name/patterns in authorized_keys2
...? b->name_type : "");
+ return 0;
+ }
+
+ debug3("key_match: trying to match %s WITH %s", a->name, b->name);
+ if (a->type == KEY_NAME_PAT)
+ return match_pattern(b->name, a->name);
+ else
+ return match_pattern(a->name, b->name);
+}
+
u_char*
key_fingerprint_raw(Key *k, enum fp_type dgst_type, size_t *dgst_raw_length)
@@ -160,7 +229,7 @@
EVP_MD_CTX ctx;
u_char *blob = NULL;
u_char *retval = NULL;
- int len = 0;
+ u_int len = 0;
int nlen, elen;
*dgst_raw_length = 0;
@@ -363,11 +432,12 @@
{
Key *k;
int success = -1;
- char *cp, *space;
+ cha...