Brian Wellington
fe73980e87
add openssl rsa
2000-09-16 01:14:34 +00:00
Brian Wellington
09523ae822
remove dnssafe
2000-09-16 01:14:22 +00:00
Brian Wellington
8dc6eb05bd
Add RSA support
2000-09-16 01:13:59 +00:00
Brian Wellington
e9c0951923
Remove dnssafe; use openssl rsa instead.
2000-09-16 01:12:21 +00:00
Brian Wellington
90e9c34380
Remove dnssafe.
2000-09-16 01:09:21 +00:00
Brian Wellington
020d334001
Don't assume class IN.
2000-09-12 09:54:36 +00:00
Brian Wellington
ec393c0384
Error return cleanup.
2000-09-08 14:25:40 +00:00
Brian Wellington
8c7fa43b3c
Make dst_region_computeid() take an algorithm, since it was returning the
...
wrong id for RSA keys. Also clean up a few error messages from dst routines.
2000-09-08 14:23:49 +00:00
Brian Wellington
79028ea477
uninitialized variables could lead to a core dump.
2000-09-07 12:10:36 +00:00
Brian Wellington
d3735e0e25
DST_ALG_RSA -> DST_ALG_RSAMD5
2000-09-02 01:17:20 +00:00
Brian Wellington
5ae91ef876
#include <stddef.h>
2000-08-30 01:24:20 +00:00
Brian Wellington
9e21cef0b2
The alphabetically sorted OBJS and SRCS weren't.
2000-08-28 22:54:39 +00:00
Brian Wellington
4e5dfe304c
updated copyright
2000-08-17 19:03:27 +00:00
Brian Wellington
c9e998ea51
A bit of gss-tsig code. Don't expect this to work.
2000-08-17 02:04:22 +00:00
Brian Wellington
5b148f96cc
An error in a .private file could lead to an assertion.
2000-08-16 00:30:56 +00:00
Brian Wellington
f15eb342bd
Add DST_R_OPENSSLFAILURE, which basically means that openssl returned
...
an error and we don't know why.
2000-08-10 22:28:36 +00:00
Brian Wellington
cb8a455cd5
A few calls to dst_region_computeid() passed in regions with the wrong
...
length.
2000-08-08 16:13:40 +00:00
David Lawrence
078b05bc26
In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char *
...
to be compatible with digest parameter of isc_hmacmd5_sign().
2000-08-02 15:33:11 +00:00
David Lawrence
40f53fa8d9
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
...
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
Brian Wellington
38c3484647
Replace the internal dst__id_calc() with the visible dst_region_computeid().
2000-07-31 19:44:21 +00:00
David Lawrence
15a4474541
word wrap copyright notice at column 70
2000-07-27 09:55:03 +00:00
Andreas Gustafsson
371827c1e0
added missing DNSSAFE license file
2000-07-26 22:41:28 +00:00
Brian Wellington
209ec709f3
Use the isc hmac library instead of a separate implementation (not that
...
the separate implementation was especially complicated). dst hmac-md5 should
really go away at some point.
2000-07-18 18:15:27 +00:00
Brian Wellington
e68de4a7db
306. [bug] Reading HMAC-MD5 private key files didn't work.
2000-07-03 23:27:45 +00:00
David Lawrence
7657358689
does not need isc/types.h
2000-06-23 03:00:30 +00:00
David Lawrence
9c3531d72a
add RCS id string
2000-06-22 22:00:42 +00:00
Brian Wellington
d153fb05e4
Require less entropy to be present for smaller keys. This means that
...
generating entropy on the keyboard doesn't take 5 minutes anymore.
2000-06-22 21:19:13 +00:00
David Lawrence
f2e5c64635
update_copyrights
2000-06-21 22:38:33 +00:00
David Lawrence
4b7c8ee536
use libisc fsaccess to make private key file accessible only to owner
2000-06-20 04:13:40 +00:00
Brian Wellington
c0975ccf5c
Use the dst entropy wrapper in all cases, so that the initial entropy flags
...
passes into dst are always in effect.
2000-06-12 18:05:15 +00:00
Brian Wellington
ce89d902a2
dst_context_create should check for a null key before creating a context
2000-06-12 07:07:53 +00:00
Brian Wellington
03e7db4ba4
hmacmd5_generate wasn't initializing a buffer
2000-06-12 07:07:14 +00:00
Brian Wellington
3bd1726b6f
fix memory leak on entropy failure
2000-06-10 21:30:53 +00:00
David Lawrence
ec90f1a1d6
revived openssl sha1 code to get the project to compile again. it is needed
...
by openssl/dsa_gen.c, as that file is currently written. this might not
be what is ultimately desired, but was the quickest way to have a working
system again.
2000-06-10 16:53:53 +00:00
Brian Wellington
d01c654984
Removed unused openssl md5, sha1, and randomness code
2000-06-10 01:39:13 +00:00
Brian Wellington
6204077770
Actually make openssl work with our entropy api
2000-06-09 23:31:55 +00:00
Brian Wellington
09a1a618cd
Use the entropy api.
2000-06-09 22:32:20 +00:00
Andreas Gustafsson
3b938ff0d9
copyright messages now generated by util/update_copyrights
2000-06-09 20:58:39 +00:00
David Lawrence
e46d261abb
added void parameter declarator for definition of dst_lib_destroy()
2000-06-08 23:21:15 +00:00
David Lawrence
c656250292
include void parameter declarator for definition of dst__openssldh_destroy()
2000-06-08 20:52:12 +00:00
David Lawrence
e90de0d144
buildfilename() definition needed static attribute of its declaration
2000-06-08 20:38:48 +00:00
Brian Wellington
b01324ef07
Removed unused DST_R_NAMETOOLONG result code
2000-06-07 19:18:53 +00:00
Brian Wellington
76513c0271
Removed errant call to dns_rdata_freestruct, cleaned up an error case.
2000-06-07 19:05:45 +00:00
Brian Wellington
c892129a37
isc_buffer_base->isc_buffer_used
2000-06-07 19:05:00 +00:00
Brian Wellington
78d14e388a
Use MD5/SHA1 from libisc instead of dst/openssl
2000-06-07 17:22:31 +00:00
Brian Wellington
4441bfbd6b
More dst updates:
...
- dst_lib_init()/dst_lib_destroy() allow dst to use a predefined
mctx and free all resources on exit.
- dst_key_tofile() & dst_key/fromfile() take a directory parameter.
- dst_key_parsefile() removed, replaced by dst_key_fromnamedfile()
- more bug fixes and memory leak fixes
2000-06-06 21:58:16 +00:00
Brian Wellington
46734259ca
Replace the calls to openssl error routines with stubs, since the calls
...
allocate memory somewhere which isn't being freed.
2000-06-06 20:40:28 +00:00
David Lawrence
bb808665b4
removed unused stack variable "ctx" from dnssafersa_verify()
2000-06-06 16:35:59 +00:00
David Lawrence
febb976e2e
dnssafersa_verify() was failing because it used isc_buffer_used() where it
...
needed isc_buffer_base().
2000-06-06 15:16:45 +00:00
David Lawrence
b1a8714e07
cast void *isc_buffer_used() to char * for pointer arithmetic
2000-06-05 22:20:04 +00:00