Aris Adamantiadis
|
d24e353e38
|
pki: null ptr check
|
2011-09-18 20:34:16 +02:00 |
|
Andreas Schneider
|
fa7798833a
|
pki: Use ssh_log_function() for ssh_pki_log().
|
2011-09-17 11:09:19 +02:00 |
|
Andreas Schneider
|
4a5b72a535
|
pki: Use ssh_string_get_char().
|
2011-09-08 16:14:35 +02:00 |
|
Andreas Schneider
|
808c7a9be4
|
pki: Add ssh_pki_export_pubkey_rsa1().
|
2011-09-05 11:28:19 +02:00 |
|
Andreas Schneider
|
a0e3facac7
|
pki: Add ecdsa key support.
|
2011-09-02 23:10:23 +02:00 |
|
Andreas Schneider
|
b5b3db6c90
|
pki: Check the type of the key blob earlier.
|
2011-08-30 22:35:01 +02:00 |
|
Andreas Schneider
|
822c68eb8e
|
pki: Use consistent API for ssh_pki_export_privkey_to_pubkey().
|
2011-08-30 10:28:57 +02:00 |
|
Andreas Schneider
|
60b92e458e
|
pki: Use consistent API for ssh_pki_export_pubkey_blob().
|
2011-08-30 10:16:53 +02:00 |
|
Andreas Schneider
|
6bf8dfa073
|
pki: Fix session_id hashing.
I don't understand why this code worked before. It was completly wrong.
|
2011-08-29 22:39:47 +02:00 |
|
Andreas Schneider
|
7a9f65dd94
|
pki: Refactor ssh_pki_do_sign().
|
2011-08-28 22:25:33 +02:00 |
|
Andreas Schneider
|
561441105f
|
pki: Add Windows defines.
|
2011-08-28 14:29:44 +02:00 |
|
Andreas Schneider
|
79ed1bc601
|
pki: Handle hash correctly.
Looks like only DSA in grypt needs a leading zero to mark the has as
positive. See
http://lists.gnupg.org/pipermail/gcrypt-devel/2005-February/000754.html
|
2011-08-26 23:13:57 +02:00 |
|
Andreas Schneider
|
7457937bab
|
pki: Migrate ssh_pki_do_sign to new pki.
|
2011-08-26 09:51:02 +02:00 |
|
Andreas Schneider
|
dc9feec005
|
pki: Add more return values for file importing functions.
|
2011-08-23 21:54:01 +02:00 |
|
Andreas Schneider
|
149be78ee0
|
pki: We need only one signature verify blob function.
This fixes the build without server.
|
2011-08-23 08:19:53 +02:00 |
|
Andreas Schneider
|
8fb8ad0151
|
agent: Fix memory leak.
|
2011-08-22 21:57:00 +02:00 |
|
Andreas Schneider
|
82ca6a6c53
|
pki: Add ssh_srv_pki_signature_verify_blob().
|
2011-08-22 18:41:47 +02:00 |
|
Andreas Schneider
|
5cc98ed720
|
pki: Add ssh_pki_signature_verify_blob().
|
2011-08-22 18:39:56 +02:00 |
|
Andreas Schneider
|
79ffd49940
|
pki: Add ssh_srv_pki_do_sign_sessionid().
|
2011-08-22 13:48:25 +02:00 |
|
Andreas Schneider
|
1b57445f6b
|
pki: Add ssh_pki_do_sign_agent().
|
2011-08-21 13:43:20 +02:00 |
|
Andreas Schneider
|
9c9199e05f
|
pki: Fix possible segfault in ssh_key_type_from_name().
|
2011-08-21 13:13:53 +02:00 |
|
Andreas Schneider
|
c041261921
|
pki: Create a pki private header file.
|
2011-08-21 11:15:29 +02:00 |
|
Andreas Schneider
|
a4b2518761
|
pki: Add ssh_pki_import_signature_blob().
|
2011-08-21 11:03:53 +02:00 |
|
Andreas Schneider
|
4f19a304d1
|
pki: Add ssh_pki_export_signature_blob().
|
2011-08-21 10:11:05 +02:00 |
|
Andreas Schneider
|
ce41747fae
|
pki: Introduce ssh_signature.
|
2011-08-20 18:37:43 +02:00 |
|
Andreas Schneider
|
c575de17a8
|
pki: Use a consistent naming scheme.
|
2011-08-19 11:14:23 +02:00 |
|
Andreas Schneider
|
2615f8bc94
|
tests: Added test for pubkey from privkey.
|
2011-08-16 23:06:13 +02:00 |
|
Andreas Schneider
|
c39181437b
|
pki: Add ssh_pki_export_publickey_file().
|
2011-08-16 23:04:25 +02:00 |
|
Andreas Schneider
|
1a0fbedc2e
|
pki: Fix and rename ssh_pki_publickey_to_base64().
Rename it to ssh_pki_export_publickey_base64().
|
2011-08-16 23:04:25 +02:00 |
|
Andreas Schneider
|
254c30be2e
|
pki: Remove session from ssh_pki_import_pubkey_* functions.
|
2011-08-16 19:33:24 +02:00 |
|
Andreas Schneider
|
25a2108809
|
pki: Remove session from ssh_pki_import_privkey_* functions.
|
2011-08-16 18:53:18 +02:00 |
|
Andreas Schneider
|
c5028e76ad
|
pki: Fix memleak in pki_import_pubkey_buffer().
|
2011-08-16 09:15:29 +02:00 |
|
Andreas Schneider
|
df29df6e35
|
pki: Add ssh_pki_log function.
The plan is to get rid of the session as a parameter to ssh pki key
functions. We don't need a session for it and probably don't want it.
|
2011-08-16 01:18:36 +02:00 |
|
Andreas Schneider
|
42dda7b958
|
pki: Fix ssh_pki_publickey_to_base64() warnings.
|
2011-08-16 00:58:20 +02:00 |
|
Andreas Schneider
|
9dfef44fd8
|
pki: Add ssh_pki_publickey_to_base64().
|
2011-08-16 00:47:43 +02:00 |
|
Andreas Schneider
|
c085892802
|
pki: Add ssh_pki_import_pubkey_file().
|
2011-08-16 00:47:43 +02:00 |
|
Andreas Schneider
|
3f70bce373
|
pki: Rename ssh_pki_publickey_to_string and make it public.
|
2011-08-16 00:47:43 +02:00 |
|
Andreas Schneider
|
6c1b508efd
|
pki: Rename ssh_pki_import_pubkey_string and make it public.
It should be named ssh_pki_import_pubkey_blob().
|
2011-08-16 00:47:43 +02:00 |
|
Andreas Schneider
|
54a2b8a303
|
pki: Fix ssh_pki_import_pubkey_base64().
|
2011-08-16 00:47:43 +02:00 |
|
Andreas Schneider
|
6ffee22448
|
pki: Add ssh_pki_publickey_to_string().
|
2011-08-15 18:48:08 +02:00 |
|
Andreas Schneider
|
c77b23b32a
|
pki: Cleanup pki header.
|
2011-08-15 18:48:08 +02:00 |
|
milo
|
962bdb1eea
|
Fixed missing include for FILE
|
2011-08-15 17:37:01 +02:00 |
|
Andreas Schneider
|
190ae27463
|
pki: Added ssh_key_dup().
|
2011-08-15 16:26:58 +02:00 |
|
Andreas Schneider
|
0523adf95c
|
pki: Add ssh_pki_import_pubkey_string().
|
2011-08-13 12:13:09 +02:00 |
|
Andreas Schneider
|
74d755873d
|
pki: Use const.
|
2011-08-13 11:26:03 +02:00 |
|
Andreas Schneider
|
30ec1e0b05
|
pki: Document public key function.
|
2011-08-13 11:19:37 +02:00 |
|
Andreas Schneider
|
e92787395a
|
pki: Fix doc of ssh_pki_import_privkey_base64().
|
2011-08-12 11:04:30 +02:00 |
|
Andreas Schneider
|
1c30c2a510
|
pki: Fix a resource leak.
|
2011-08-11 12:36:01 +02:00 |
|
Andreas Schneider
|
9c0af42dd8
|
pki: Use a consistent name scheme.
Rename ssh_key_import_private to ssh_pki_import_privkey_file.
|
2011-08-09 18:05:47 +02:00 |
|
Andreas Schneider
|
bec483bc18
|
pki: Add ssh_pki_import_pubkey_base64().
|
2011-08-08 15:28:31 +02:00 |
|