Skip to content

subtle-encoding v0.4.0 #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions hkd32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,18 @@ travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }
getrandom = { version = "0.1", optional = true }
hmac = { version = "0.7", default-features = false }
sha2 = { version = "0.8", default-features = false }
subtle-encoding = { version = "0.3", optional = true }
tiny-bip39 = { version = "0.6", default-features = false, optional = true }

[dependencies.subtle-encoding]
version = "0.4"
optional = true
path = "../subtle-encoding"

[dependencies.zeroize]
version = "0.10"
path = "../zeroize"
default-features = false
features = ["zeroize_derive"]
path = "../zeroize"

[features]
default = ["alloc", "bech32", "getrandom"]
Expand Down
7 changes: 7 additions & 0 deletions subtle-encoding/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [0.4.0] (2019-08-19)

- Remove `failure` ([#245])
- Use `alloc` for heap allocations; MSRV 1.36+ ([#245])

## [0.3.7] (2019-05-19)

- `zeroize` v0.9.0 ([#215])
Expand Down Expand Up @@ -56,6 +61,8 @@

- Initial release

[0.4.0]: https://github.com/iqlusioninc/crates/pull/249
[#215]: https://github.com/iqlusioninc/crates/pull/245
[0.3.7]: https://github.com/iqlusioninc/crates/pull/218
[#215]: https://github.com/iqlusioninc/crates/pull/215
[0.3.5]: https://github.com/iqlusioninc/crates/pull/187
Expand Down
2 changes: 1 addition & 1 deletion subtle-encoding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = """
provide "best effort" constant time. Useful for encoding/decoding
secret values such as cryptographic keys.
"""
version = "0.3.7" # Also update html_root_url in lib.rs when bumping this
version = "0.4.0" # Also update html_root_url in lib.rs when bumping this
authors = ["Tony Arcieri <tony@iqlusion.io>"]
license = "Apache-2.0 OR MIT"
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion subtle-encoding/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#![no_std]
#![deny(warnings, missing_docs, unused_import_braces, unused_qualifications)]
#![forbid(unsafe_code)]
#![doc(html_root_url = "https://docs.rs/subtle-encoding/0.3.7")]
#![doc(html_root_url = "https://docs.rs/subtle-encoding/0.4.0")]

#[cfg(feature = "alloc")]
#[macro_use]
Expand Down
1 change: 1 addition & 0 deletions zeroize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ keywords = ["memory", "memset", "secure", "volatile", "zero"]

[badges]
travis-ci = { repository = "iqlusioninc/crates", branch = "develop" }
maintenance = { status = "actively-developed" }

[dependencies]
zeroize_derive = { version = "0.10", path = "../zeroize_derive", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion zeroize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ without any additional terms or conditions.
[Zeroing memory securely is hard]: http://www.daemonology.net/blog/2014-09-04-how-to-zero-a-buffer.html
[core::ptr::write_volatile]: https://doc.rust-lang.org/core/ptr/fn.write_volatile.html
[core::sync::atomic]: https://doc.rust-lang.org/stable/core/sync/atomic/index.html
[good cryptographic hygiene]: https://cryptocoding.net/index.php/Coding_rules#Clean_memory_of_secret_data
[good cryptographic hygiene]: https://github.com/veorq/cryptocoding#clean-memory-of-secret-data
[LICENSE]: https://github.com/iqlusioninc/crates/blob/develop/LICENSE
[LICENSE-MIT]: https://github.com/iqlusioninc/crates/blob/develop/zeroize/LICENSE-MIT
6 changes: 3 additions & 3 deletions zeroize/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//!
//! Additionally, it's implemented on slices and `IterMut`s of the above types.
//!
//! When the `std` feature is enabled (which it is by default), it's also impl'd
//! for `Vec`s of the above types as well as `String`, where it provides
//! When the `alloc` feature is enabled (which it is by default), it's also
//! impl'd for `Vec<T>` for the above types as well as `String`, where it provides
//! [Vec::clear()] / [String::clear()]-like behavior (truncating to zero-length)
//! but ensures the backing memory is securely zeroed with some caveats.
//! (NOTE: see "Stack/Heap Zeroing Notes" for important `Vec`/`String` details)
Expand Down Expand Up @@ -190,7 +190,7 @@
//! [Ordering::SeqCst]: https://doc.rust-lang.org/std/sync/atomic/enum.Ordering.html#variant.SeqCst
//! [compiler_fence]: https://doc.rust-lang.org/stable/core/sync/atomic/fn.compiler_fence.html
//! [pin]: https://doc.rust-lang.org/std/pin/struct.Pin.html
//! [good cryptographic hygiene]: https://cryptocoding.net/index.php/Coding_rules#Clean_memory_of_secret_data
//! [good cryptographic hygiene]: https://github.com/veorq/cryptocoding#clean-memory-of-secret-data

#![no_std]
#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
Expand Down