Commit Graph

61 Commits

Author SHA1 Message Date
Miek Gieben
7cc28a94e9 Fix funkensturm signing
make LabelCount public account.
2011-07-06 21:50:23 +02:00
Miek Gieben
ffd7a5acb6 documentation 2011-03-30 15:44:28 +02:00
Miek Gieben
8a4647ec22 documentation 2011-03-30 15:35:49 +02:00
Miek Gieben
f44bf2d656 Formatting 2011-03-24 09:24:24 +01:00
Miek Gieben
d8d4d000bc Fix test and robustness 2011-03-24 09:02:19 +01:00
Miek Gieben
3af023bda9 Use bufio.Reader in private key reading 2011-03-23 16:10:15 +01:00
Miek Gieben
bc4d7ed748 add this example too 2011-03-22 09:13:25 +01:00
Miek Gieben
50ecc8d2a6 the comments 2011-03-15 19:41:28 +01:00
Miek Gieben
115309962a Add const for KSK/ZSK and REVOKE 2011-03-03 11:45:33 +01:00
Miek Gieben
2b5a97570a Made a start with ixfr 2011-02-24 21:44:55 +01:00
Miek Gieben
98e4b33cb5 formatting and documentation 2011-02-24 16:22:14 +01:00
Miek Gieben
71b860e0d3 comment updates 2011-02-24 15:31:58 +01:00
Miek Gieben
266ed16e72 refactor the rrset to signedata function 2011-02-24 15:29:36 +01:00
Miek Gieben
9ea988d5fa doc update 2011-02-11 22:21:41 +01:00
Miek Gieben
1e111c9571 Make it work with the new Go release 2011-02-02 09:05:25 +01:00
Miek Gieben
8fbcb3e408 loose the dns. prefix 2011-01-27 20:43:55 +01:00
Miek Gieben
bc53ca75e1 some buf sizes 2011-01-27 20:30:16 +01:00
Miek Gieben
f934968d00 remove printlns 2011-01-27 20:24:58 +01:00
Miek Gieben
13574b6c97 use DefaultMsgSize 2011-01-27 09:38:52 +01:00
Miek Gieben
0e0c6fd024 use DefaultMsgSize 2011-01-27 09:38:30 +01:00
Miek Gieben
d9dfd913a7 documentation updates 2011-01-27 09:29:11 +01:00
Miek Gieben
7e1f9490f2 Cert RR added
PubKey is named PublicKey in the RR_DNSKEY
2011-01-25 13:57:54 +01:00
Miek Gieben
fc0ffa20f7 Not possible to create keytag from privkey alone 2011-01-18 11:43:08 +01:00
Miek Gieben
68e0e0b1be Set the algorithm too in the test 2011-01-18 11:34:48 +01:00
Miek Gieben
3df903d6e6 Small signing tweaks
* Get more info from the rrset your are signing
    * Still todo, calculate publickey and keytag etc.
2011-01-18 11:25:47 +01:00
Miek Gieben
9eea4682fd Fix documentation 2011-01-17 21:10:48 +01:00
Miek Gieben
96a55dee9b Less verbose tests 2011-01-17 20:29:40 +01:00
Miek Gieben
48cbf55a23 completely fix private key reading 2011-01-17 20:18:51 +01:00
Miek Gieben
1f6a221bd8 Private key completely works. Can read BIND9 files 2011-01-17 19:52:28 +01:00
Miek Gieben
ea08cb2d7b Fix all exponent issues in rsa keys 2011-01-17 18:13:52 +01:00
Miek Gieben
2041cffcfc Fix exp 65537 in RSA keys 2011-01-17 17:55:58 +01:00
Miek Gieben
d086722c36 Add rrset check function 2011-01-16 20:07:17 +01:00
Miek Gieben
2cfa45408d trying to set the pubkey from the private key 2011-01-16 18:37:29 +01:00
Miek Gieben
54f158c23d Helper functions for base64 encoding/decoding 2011-01-15 10:38:14 +01:00
Miek Gieben
15bf984f3f LabelCount() made public and various other tweaks 2011-01-14 18:55:18 +01:00
Miek Gieben
ab4a5b5477 Love interfaces
Using interfaces to make key.Generate and Sign much more generic
2011-01-14 18:25:36 +01:00
Miek Gieben
0c95585952 Signing works, dont know yet if it would validate 2011-01-14 13:22:24 +01:00
Miek Gieben
67230e9759 Fixed signing stuff (doesn't work yet)
Need a nice priv-key representation to make it all work
2011-01-14 12:10:54 +01:00
Miek Gieben
a60238bdde Remove unwanted wire conversion functions 2011-01-14 11:57:28 +01:00
Miek Gieben
728b575b60 Make signing a method of DNSKEY 2011-01-13 17:14:14 +01:00
Miek Gieben
4f8537dde2 incorp. in the main dns package 2011-01-09 20:00:37 +01:00
Miek Gieben
42ce4d3085 Fix tsig -- needs testing 2011-01-09 15:54:23 +01:00
Miek Gieben
19edd05274 Fold dnssec back into dns
It is more natural. Otherwise tsig and tkey needed to be
put in their own packages
2011-01-09 10:31:23 +01:00
Miek Gieben
15dd65171b Split the package in multiple packages
dns - the standard rrtypes and such
    dnssec - validation, keytag calculation, etc
    resolver - for talking to servers
2010-12-30 13:42:52 +01:00
Miek Gieben
bc624181dc More dnssec stuff added 2010-12-30 09:24:40 +01:00
Miek Gieben
ac43aed00f Extracted the pubkey from a DNSKEY record 2010-12-29 16:34:53 +01:00
Miek Gieben
504ab27f6f en weer terug 2010-12-29 16:12:01 +01:00
Miek Gieben
de5b30f781 zo dan 2010-12-29 16:11:23 +01:00
Miek Gieben
5ced9e2152 almost ready for DNSSEC validation
only need call the crypto/rsa func
2010-12-28 14:57:30 +01:00
Miek Gieben
0cea39ac49 Second stab a DNSSEC validation
- still need: sorting, numOfLabels, wildcard handling
2010-12-28 10:40:20 +01:00