Commit Graph

16 Commits

Author SHA1 Message Date
Justus Winter d628acdf93
Bump Sequoia to 0.9.
- Sequoia now ignores any unhashed subpackets when comparing
    signatures, closing a DoS vector.  Previously, one could create
    any number of valid signatures from a single valid signature that
    were considered distinct by mutating the unhashed subpacket area.

  - Sequoia now handles malformed UserIDs of the form "$addr <$addr>".
    Adjust database::test::test_bad_uids accordingly.

  - Update src/dump.rs from Sequoia.

  - Sequoia now ignores any Unicode codepoint considered whitespace
    when parsing Fingerprints and KeyIDs.  Fixes #122.
2019-07-08 19:16:39 +02:00
Justus Winter c838198638
Bump Sequoia to 0.8. 2019-06-14 14:38:09 +02:00
Justus Winter 065aaf9581
Port to Sequoia 0.8pre. 2019-06-11 13:02:57 +02:00
Vincent Breitmoser d5d915cc5e
upgrade to sequoia 0.7 (wip!) 2019-06-11 13:02:55 +02:00
Vincent Breitmoser 38bb7bd7bf drop memory mutex, and use associated type instead of enum polymorphy 2019-05-14 16:27:12 +00:00
Vincent Breitmoser 5979307a8c extract path splitting into method 2019-05-14 16:27:12 +00:00
Justus Winter e68cf3cdf2
Build Sequoia without compression support. 2019-04-24 11:30:46 +02:00
Justus Winter e1673bb102
Bump Sequoia to 0.6. 2019-04-24 11:28:59 +02:00
Neal H. Walfield 9e104a9d8c
Switch back to Sequoia git
- Needed for Sequoia's new RFC 2822 parser.
2019-04-12 14:01:57 +02:00
Justus Winter 995b83ee36
Bump Sequoia to 0.5.
- Fixes #35.
2019-03-14 17:09:40 +01:00
Justus Winter 0ac9fe32e7
Use a flock(2)-based Mutex in Filesystem::lock().
- If this proves to be too expensive, we may need to look for a
    shared-memory based synchronization mechanism.  However, no
    existing one seemed suitable.

  - Fixes #81.
2019-03-13 13:03:33 +01:00
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 50b89a6579
Bump Sequoia. 2019-03-11 11:32:00 +01:00
Justus Winter d2f3f40cba
Normalize domains containing Unicode characters. 2019-03-07 14:31:43 +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