Jimmy Cuadra
|
30f830bd5e
|
Be more clear about the Base64 encoding of signatures and hashes.
|
2019-07-09 15:33:03 -07:00 |
|
Jimmy Cuadra
|
8c102d11bb
|
Update doc examples for new APIs.
|
2019-07-09 04:20:43 -07:00 |
|
Jimmy Cuadra
|
14ede0c145
|
Use unwrap in docs to make examples more succinct.
|
2019-07-09 04:06:40 -07:00 |
|
Jimmy Cuadra
|
152458707c
|
Simplify extraction of JSON object from event content.
|
2019-07-09 04:00:21 -07:00 |
|
Jimmy Cuadra
|
935407c805
|
Document parameters and return conditions.
|
2019-07-09 03:55:20 -07:00 |
|
Jimmy Cuadra
|
4e7bc994eb
|
Add a test for signing a redacted event.
|
2019-07-09 03:39:57 -07:00 |
|
Jimmy Cuadra
|
0d26b74051
|
Rework hash_and_sign_event to mutate JSON.
|
2019-07-09 03:34:44 -07:00 |
|
Jimmy Cuadra
|
66f35cd12a
|
Update tests to verify new API.
|
2019-07-09 03:01:36 -07:00 |
|
Jimmy Cuadra
|
ad3b4401f0
|
Rework sign_json to mutate the JSON the signature will be added to.
|
2019-07-09 02:50:37 -07:00 |
|
Jimmy Cuadra
|
fb222b8e82
|
Add entry method to SignatureMap.
|
2019-07-09 02:49:43 -07:00 |
|
Jimmy Cuadra
|
49f3208e7f
|
Add get and get_mut methods to SignatureMap.
|
2019-07-09 01:52:10 -07:00 |
|
Jimmy Cuadra
|
d7d098ba35
|
Clarify what reference hashes are used for.
|
2019-07-09 00:13:58 -07:00 |
|
Jimmy Cuadra
|
47c6de7a1b
|
Add hash_and_sign_event function.
|
2019-07-09 00:05:01 -07:00 |
|
Jimmy Cuadra
|
202b3ed402
|
Add content_hash and reference_hash functions and move all functions into a module.
|
2019-07-08 23:35:09 -07:00 |
|
Jimmy Cuadra
|
9a56e2b0a6
|
Add tests for canonical JSON.
|
2019-07-08 22:01:15 -07:00 |
|
Jimmy Cuadra
|
07295b11bb
|
Rename Signatures SignatureMap .
|
2019-07-08 21:22:17 -07:00 |
|
Jimmy Cuadra
|
97ee073e11
|
Split the library into modules.
|
2019-07-08 21:10:50 -07:00 |
|
Jimmy Cuadra
|
03fcf7281d
|
Use constants from base64.
|
2019-07-08 20:45:27 -07:00 |
|
Jimmy Cuadra
|
302e401a80
|
Remove unnecessary constructor for Ed25519Verifier .
|
2019-07-08 18:53:29 -07:00 |
|
Jimmy Cuadra
|
6ffd73b312
|
Make Error::new private to the crate.
|
2019-07-08 18:51:15 -07:00 |
|
Jimmy Cuadra
|
c0d10881a2
|
Implement Clone and PartialEq for all types.
See https://github.com/briansmith/ring/issues/859 for background.
|
2019-07-08 18:47:11 -07:00 |
|
Jimmy Cuadra
|
aa9d546b1b
|
Add crates.io categories. [ci skip]
|
2019-06-16 16:42:46 -07:00 |
|
Jimmy Cuadra
|
e3b453c468
|
Add rustfmt and clippy to CI and address clippy warnings.
|
2019-06-02 19:12:05 -07:00 |
|
Jimmy Cuadra
|
2e0376a8a4
|
Use stable Rust on Travis.
|
2019-06-02 09:14:55 -07:00 |
|
Jimmy Cuadra
|
e55f0a324e
|
Bump version to 0.4.2.
|
2019-04-11 17:43:51 -07:00 |
|
Jimmy Cuadra
|
b15f7a1c07
|
Update dependencies.
|
2019-04-08 16:52:20 -07:00 |
|
Jimmy Cuadra
|
33e113f5e5
|
Merge pull request #6 from ruma/rust-2018
Update doc tests to Rust 2018, remove unnecessary main declaration from them
|
2019-01-15 12:36:03 -08:00 |
|
Jonas Platte
|
163a555a17
|
Update doc tests to Rust 2018, remove unnecessary main declaration from them
|
2019-01-13 22:30:12 +01:00 |
|
Jimmy Cuadra
|
d23813efb1
|
Merge pull request #5 from ruma/nested-imports
Use nested imports
|
2019-01-09 14:52:29 -08:00 |
|
Jonas Platte
|
61e1ebb4cb
|
Configure rustfmt for nested imports, re-run 'cargo fmt'
|
2019-01-08 20:01:29 +01:00 |
|
Jimmy Cuadra
|
6ff12a74d2
|
Run rustfmt and add it to CI runs.
|
2018-12-07 17:29:14 -08:00 |
|
Jimmy Cuadra
|
9f478a1d51
|
Use Rust 2018 edition idioms.
|
2018-12-07 17:20:59 -08:00 |
|
Jimmy Cuadra
|
df1fc1739b
|
Use edition 2018.
|
2018-12-07 17:16:47 -08:00 |
|
Jimmy Cuadra
|
e3883bfbed
|
Bump version to 0.4.1.
|
2018-12-03 18:56:08 -08:00 |
|
Jimmy Cuadra
|
0c299b6226
|
Update dependencies.
|
2018-12-03 18:50:58 -08:00 |
|
Jimmy Cuadra
|
f6b066b73f
|
Merge pull request #4 from fest-im/master
Update dependencies (and fix a trivial warning along the way)
|
2018-12-03 18:50:13 -08:00 |
|
Jonas Platte
|
1334fc37e5
|
Remove unused mut
|
2018-11-09 11:28:36 +01:00 |
|
Jonas Platte
|
bd23e42cfc
|
Update lazy_static, url, ring, untrusted
|
2018-11-09 11:28:05 +01:00 |
|
Jonas Platte
|
86135ddeb0
|
Update base64 to latest version
|
2018-11-09 11:20:56 +01:00 |
|
Jimmy Cuadra
|
7d34d869c6
|
Merge pull request #3 from briansmith/update-ring
Update to *ring* 0.9.4.
|
2017-05-09 03:12:51 -07:00 |
|
Brian Smith
|
23e0121125
|
Update to *ring* 0.9.4.
'
|
2017-05-08 17:38:03 -10:00 |
|
Jimmy Cuadra
|
fbc1960ab9
|
Replace rustc-serialize with base64. Fixes #2.
|
2017-04-24 00:13:57 -07:00 |
|
Jimmy Cuadra
|
26f618cb2d
|
Bump version to 0.3.0.
|
2017-04-20 22:42:39 -07:00 |
|
Jimmy Cuadra
|
e63b0fbcd5
|
Update ring to 0.7 and serde to 1.0.
|
2017-04-20 22:41:59 -07:00 |
|
Jimmy Cuadra
|
0590867dc1
|
Bump version to 0.2.1
|
2017-01-27 01:50:00 -08:00 |
|
Jimmy Cuadra
|
34d8b58413
|
Merge pull request #1 from jplatte/master
Update ring to fix build error on latest nightly
|
2017-01-26 14:49:53 -08:00 |
|
Jonas Platte
|
b581715ffb
|
Update ring to fix build error on latest nightly
See https://github.com/briansmith/ring/pull/430 for details
|
2017-01-26 23:10:55 +01:00 |
|
Jimmy Cuadra
|
0bfcf340d9
|
Bump version to 0.2.0.
|
2017-01-26 00:52:59 -08:00 |
|
Jimmy Cuadra
|
ca1aeace5b
|
Update to serde 0.9, ring 0.6.2, and url 1.4.
|
2017-01-26 00:52:00 -08:00 |
|
Jimmy Cuadra
|
2a7f43a805
|
Encrypt IRC channel name for Travis notifications.
See https://github.com/travis-ci/travis-ci/issues/1094
|
2016-12-11 23:23:27 -08:00 |
|