Justus Winter
|
d0ee484bc4
|
Bump parking_lot to 0.7.
|
2019-03-12 13:08:13 +01:00 |
Justus Winter
|
b4761b0edd
|
Bump rand to 0.6.
|
2019-03-12 13:07:13 +01:00 |
Justus Winter
|
e908df4b9f
|
Hand references to Database::merge*.
- These functions clone what they need anyway.
|
2019-03-11 16:32:06 +01:00 |
Justus Winter
|
896494974b
|
Add a database consistency check used when testing.
- Closes #72.
|
2019-03-11 15:49:01 +01:00 |
Justus Winter
|
2b5e47e505
|
Merge revoked TPKs, but don't trigger verifications.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
102c71afc5
|
Verify all userids with the same address with one token.
- See #75.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
9e9ff04b72
|
Use a Vec<u8> that we can append packets into.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
9928fb3c24
|
Include certifications in verification cookies.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
96ffb2d78a
|
Refactor.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
77fb5a9669
|
Unconditionally keep revocations when filtering UserIDs.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
50b89a6579
|
Bump Sequoia.
|
2019-03-11 11:32:00 +01:00 |
Justus Winter
|
ab4f941ac2
|
Only delete (address, key) mappings.
- We still want to provide the key material for updates, or
revocations.
- Fixes #73.
|
2019-03-07 20:51:39 +01:00 |
Justus Winter
|
bc5f1f920a
|
Add Database::filter_userids().
- This unlinks mail addresses, and also strips them from the TPK.
|
2019-03-07 20:51:39 +01:00 |
Justus Winter
|
353ae0b6fc
|
Avoid cloning where possible.
|
2019-03-07 19:06:36 +01:00 |
Justus Winter
|
0b756e1d28
|
New method Database::update_tpk().
|
2019-03-07 19:06:36 +01:00 |
Justus Winter
|
da74af310a
|
Replace Database::strip_userids.
- Database::strip_userids() removed too many packets,
e.g. revocation signatures.
|
2019-03-07 19:06:36 +01:00 |
Justus Winter
|
b956356767
|
Refactor.
|
2019-03-07 19:06:11 +01:00 |
Justus Winter
|
95ab918661
|
Impl Display for Email, Fingerprint, KeyID.
- This allows for a more efficient formatting, and implements
ToString for free.
|
2019-03-07 15:13:12 +01:00 |
Justus Winter
|
58c457a013
|
Lowercase email addresses.
- Fixes #43.
|
2019-03-07 14:31:43 +01:00 |
Justus Winter
|
d2f3f40cba
|
Normalize domains containing Unicode characters.
|
2019-03-07 14:31:43 +01:00 |
Justus Winter
|
f1afc12ebd
|
Introduce placeholder parser, add test.
|
2019-03-07 14:31:43 +01:00 |
Justus Winter
|
2aaeeaa07f
|
Use valid mail addresses in tests.
|
2019-03-07 14:31:43 +01:00 |
Justus Winter
|
d63aa0503e
|
Drop.
|
2019-03-07 14:31:43 +01:00 |
Justus Winter
|
908d139d01
|
Avoid cloning UserID packets.
|
2019-03-07 14:31:41 +01:00 |
Justus Winter
|
8631b4f02e
|
Only convert from UserID to Email if encoding is valid.
|
2019-03-07 14:31:24 +01:00 |
Justus Winter
|
d5c4c74656
|
Move the database module to a new crate.
- This way we can share the code between multiple binaries without
running the common tests twice.
- Fixes #45.
|
2019-03-05 17:30:56 +01:00 |