Adam Cigánek
a7fbfa4522
replace failure (which is deprecated) with thiserror ( #105 ) ( #106 )
4 years ago
Andreas Fackler
7709462f2d
Version 0.4.0 ( #102 )
5 years ago
Andreas Fackler
8ec1e20fa3
Make SecretKeySet cloneable. Rust 1.42.0. ( #101 )
5 years ago
Weiliang Li
d18269ebca
upgrade pairing ( #93 )
...
* [wip] upgrade pairing
* fix non mock
* fix mock
* derive Clone for SecretKey
* fix bench and derive Clone for poly
* sort Cargo.toml
* fix Rng
* Update mod.rs
* Update lib.rs
* update
* update dep
* update dep
* bump dep
* bump dep
* fix test
5 years ago
Andreas Fackler
16a3bb650c
Make `reveal` print the secret key, not the public one.
...
That's what the method documentation says. It explicitly warns that it
reveals the secret key, unlike the Debug implementation.
5 years ago
Weiliang Li
2d332a82bd
Update README.md ( #94 )
6 years ago
Weiliang Li
624eeee7e4
fix codec build error under feature std ( #92 )
6 years ago
Weiliang Li
036b720b7f
Clean up and add parity codec support ( #91 )
...
* clean Cargo.toml and add parity codec support
* upgrade parity codec
* fix travis
* make clippy happy
* use zeroize instead of memsec
* fix zeroize and add test
* Update .travis.yml
* improve codec support
* fix
* add TODO for removing clear_fr
6 years ago
Andreas Fackler
48c7b7bd40
Hide DecryptionShare contents in Debug output.
6 years ago
Andreas Fackler
485333db6e
Version 0.3.2 ( #89 )
6 years ago
Andreas Fackler
4b13bd56c3
Don't use the preview versions of clippy and rustfmt. ( #87 )
6 years ago
Sebastian Geisler
a40c770abb
Implement common traits for SerdeSecret
...
Implement Debug, Eq, PartialEq and Clone for SerdeSecret if they
are implemented for the inner type.
6 years ago
Nikita Baksalyar
594bfdaa30
Implement Copy trait for PublicKeyShare
6 years ago
Andrew Gross
fce0f20423
add reference to README
6 years ago
Andreas Fackler
e0785f465c
Update to Rust 1.35.0. ( #83 )
6 years ago
Fraser Hutchison
4ef9496776
Fix some documentation issues.
6 years ago
Peter van Nostrand
295e42954a
Removed 'lazy_static' dependency.
6 years ago
Vladimir Komendantskiy
0ed0806f50
version number update
6 years ago
Vladimir Komendantskiy
fb2ad369f9
using serde derive feature instead of separate crate
6 years ago
Andreas Fackler
784c815fe7
Make `PublicKeySet` orderable, too.
6 years ago
Vladimir Komendantskiy
b3c2c0501c
Merge pull request #76 from poanetwork/afck-serde
...
Make SerdeSecret's field public.
6 years ago
Andreas Fackler
009ec6ceee
Make SerdeSecret's field public.
...
Otherwise it's impossible to actually use the wrapper to serialize an
existing secret key.
6 years ago
Vladimir Komendantskiy
9ef9c3d73e
Merge pull request #75 from poanetwork/afck-ord
...
Make several types Ord, PartialOrd.
6 years ago
Andreas Fackler
c486b93631
Make several types Ord, PartialOrd.
...
Also fixes some new Clippy and rustfmt issues and extends documentation.
6 years ago
Demi Marie Obenour
eb5fbf96ed
Merge pull request #74 from sgeisler/serialize_secret
...
Implement serde for secret keys
6 years ago
Sebastian Geisler
7a077846c9
Add documentation to secret keys pointing to SerdeSecret
6 years ago
Sebastian Geisler
ce1c30f9b4
Address @afck's comments
...
* make SerializeSecret private
* simplify serde impls
6 years ago
Sebastian Geisler
cd490bcdee
Implement ser/de for SecretKeyShare
6 years ago
Sebastian Geisler
a17cff2041
Implement ser/de for SecretKey
6 years ago
Sebastian Geisler
823609b53e
Add SerdeSecret wrapper type and SerializeSecret trait
6 years ago
Vladimir Komendantskiy
8794a51809
Merge pull request #72 from poanetwork/afck-badge
...
Add docs.rs and crates.io badges.
6 years ago
Andreas Fackler
a2704115a6
Add docs.rs and crates.io badges.
6 years ago
David Irvine
43f615c953
Cargo fix update. Also update dependencies, minus lazy static due to issues with criterion.
6 years ago
Andreas Fackler
dbb9fae896
Version 0.3.0
6 years ago
Andreas Fackler
9ab09897bd
Update docs.rs link.
6 years ago
Andreas Fackler
8b6fa87cdc
Export serde_impl::FieldWrap.
6 years ago
Andreas Fackler
a14e7d1867
Migrate to rand 0.6.
6 years ago
Andreas Fackler
1b1df40c67
Upgrade to Rust 1.31.0 and edition 2018.
6 years ago
Andreas Fackler
c2d63b214a
Add missing_docs lint, extend docs.
6 years ago
Andreas Fackler
c7eda7a14a
Make serialization less wasteful.
...
This removes the unneeded length from key and signature representation,
removing 8 bytes from each. Also adds `from_bytes` and `to_bytes`
methods to convert keys and signatures.
6 years ago
Andrew Gross
4fec9da3d6
Update rand reference
7 years ago
Andrew Gross
a0aa9606fd
Linked to security audit in POA wiki
7 years ago
Andrew Gross
3ffe4b3386
Added security audit link
7 years ago
Andreas Fackler
05cde32d01
Instead of macro_use, use use.
7 years ago
Vladimir Komendantskiy
0cadd3196f
Merge pull request #58 from poanetwork/afck-rust-1.30.0
...
Upgrade to Rust 1.30.0.
7 years ago
Andreas Fackler
54026f5fe7
Upgrade to Rust 1.30.0.
7 years ago
Andreas Fackler
a4e0da3e8b
Version 0.2.1
7 years ago
Andreas Fackler
1d613c2113
Make hash_g2 public.
...
This function can be useful, to avoid redundant hashing of a long message.
7 years ago
Andreas Fackler
96db9fbba7
Version 0.2.0
...
Also: Follow the soon-to-be-official formatting guidelines:
https://github.com/nrc/rfcs/blob/style-guide/style-guide/cargo.md
7 years ago
Andreas Fackler
29b40fffa7
Use hex_fmt 0.2.0.
7 years ago