Commit graph

97 commits

Author SHA1 Message Date
Tobie Morgan Hitchcock
3c8b68b503 Don't encrypt/decrypt blank strings 2016-07-18 14:24:48 +01:00
Tobie Morgan Hitchcock
8a0849d6da Enable multiple database backends 2016-07-16 14:43:53 +01:00
Tobie Morgan Hitchcock
4f8f92a6f3 Add package for manipulating database item 2016-07-04 11:36:18 +01:00
Tobie Morgan Hitchcock
a91ca78606 Remove failing tests temporarily 2016-07-04 11:36:07 +01:00
Tobie Morgan Hitchcock
6afa0ede40 Rename Trail to Patch 2016-07-04 10:02:51 +01:00
Tobie Morgan Hitchcock
d55b272bbe Add certificate extractor tests 2016-07-04 09:08:18 +01:00
Tobie Morgan Hitchcock
96bf16b07a Add package for decoding PEM certificates 2016-07-03 22:45:15 +01:00
Tobie Morgan Hitchcock
f0fde5ef16 Add keys 2016-06-16 13:33:28 +01:00
Tobie Morgan Hitchcock
be182d6c9a Change Search to Get 2016-06-16 13:32:54 +01:00
Tobie Morgan Hitchcock
485475d7f3 Ensure EndOfTime is always in the future 2016-05-31 13:35:08 +01:00
Tobie Morgan Hitchcock
f795c97c22 Add variables for begging and end of time 2016-05-31 11:24:10 +01:00
Tobie Morgan Hitchcock
bcb75db2d1 Don't attempt encoding/decoding on empty []byte 2016-05-30 10:58:51 +01:00
Tobie Morgan Hitchcock
ece43dae87 Add additional keys 2016-05-27 16:31:39 +01:00
Tobie Morgan Hitchcock
6d872fbd5d Change key struct fields to interface{}
Most key struct fields are changed to interface{} so that they can be encoded with whatever data is underlying.
2016-05-27 16:29:50 +01:00
Tobie Morgan Hitchcock
c5f7c81ad1 Add key prefix testing 2016-05-27 16:27:02 +01:00
Tobie Morgan Hitchcock
e69ae69e4f Add ability to ignore struct fields when encoding keys 2016-05-27 16:25:46 +01:00
Tobie Morgan Hitchcock
47adafe3c3 Enable custom type encoding 2016-05-26 00:25:18 +01:00
Tobie Morgan Hitchcock
16e1477f07 Remove unused packages 2016-05-26 00:25:09 +01:00
Tobie Morgan Hitchcock
f931b6c15c Ignore encryption if key length is 0 2016-05-24 10:27:46 +01:00
Tobie Morgan Hitchcock
200eafd0f2 Add tests 2016-05-23 14:09:26 +01:00
Tobie Morgan Hitchcock
d8e7c1008d Allow different length keys 2016-05-23 14:09:14 +01:00
Tobie Morgan Hitchcock
4d1e302e76 Use surreal rand package 2016-05-23 14:08:59 +01:00
Tobie Morgan Hitchcock
54a13c049f Return byte slice not string 2016-05-23 14:08:32 +01:00
Tobie Morgan Hitchcock
9085865e35 Improve tests 2016-05-23 14:08:22 +01:00
Tobie Morgan Hitchcock
c937505b7e Remove unused package imports 2016-05-23 13:31:49 +01:00
Tobie Morgan Hitchcock
5e2241f77a Hide Prefix and Suffix characters from public 2016-05-23 13:31:41 +01:00
Tobie Morgan Hitchcock
2024efdb0f Ensure all tests are run 2016-05-23 13:31:24 +01:00
Tobie Morgan Hitchcock
24a7e406c0 End strings with double TERM byte 2016-05-23 13:31:16 +01:00
Tobie Morgan Hitchcock
07f7d3a0a0 Add byte encoding decoding package 2016-05-21 18:06:00 +01:00
Tobie Morgan Hitchcock
d1d40b1ee3 Add byte encryption decryption package 2016-05-21 18:05:11 +01:00
Tobie Morgan Hitchcock
7addcd8289 Latest implementation of key encoding+decoding 2016-05-18 00:55:50 +01:00
Tobie Morgan Hitchcock
0e21d585ba Move 'json' package to 'data' 2016-05-17 22:38:06 +01:00
Tobie Morgan Hitchcock
91f351f8f5 Add old json package for back reference 2016-05-17 22:37:15 +01:00
Tobie Morgan Hitchcock
24dfca05a5 Remove bytes encoding package 2016-05-17 22:35:44 +01:00
Tobie Morgan Hitchcock
bc503f1096 Move tests to inside package 2016-05-17 22:35:36 +01:00
Tobie Morgan Hitchcock
07139fdc5b Add database keys package
The keys package is used to encode and decode keys. Keys are used for storage in the key:value store.
2016-03-15 21:30:47 +00:00
Tobie Morgan Hitchcock
f99d063d16 Improve uuid util package 2016-03-15 12:17:47 +00:00
Tobie Morgan Hitchcock
e280b50e16 Fix rand util package 2016-03-15 12:17:39 +00:00
Tobie Morgan Hitchcock
e5ced04d37 Add testing for uuid util package 2016-03-15 12:17:30 +00:00
Tobie Morgan Hitchcock
b4011d7595 Add testing for rand util package 2016-03-15 12:17:21 +00:00
Tobie Morgan Hitchcock
dcef5bad71 Add util package for creating random strings 2016-03-14 16:45:42 +00:00
Tobie Morgan Hitchcock
8c7f4dfc85 Return strings from uuid package 2016-03-02 15:30:30 +00:00
Tobie Morgan Hitchcock
db3e2afe9a Add util package for binary encoding of data 2016-02-29 17:33:01 +00:00
Tobie Morgan Hitchcock
5c082284ac Add util package for binary encoding of data 2016-02-29 17:29:58 +00:00
Tobie Morgan Hitchcock
e4794d4fd1 Change name of 'vers' util package package 2016-02-28 19:20:22 +00:00
Tobie Morgan Hitchcock
23be4b9387 Add util package for getting version information 2016-02-26 17:27:49 +00:00
Tobie Morgan Hitchcock
842ea37e47 Add util package for working with uuids 2016-02-26 17:27:38 +00:00