Closed peat closed 4 years ago
The CI failure looks like an issue with trying to get assets for the Rust beta build, not failing tests. 🤔
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-beta.toml.sha256' to '/home/travis/.rustup/tmp/o4an6qqt3qa04cun_file' info: caused by: failed to make network request info: caused by: https://static.rust-lang.org/dist/channel-rust-beta.toml.sha256: timed out The command "curl -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=$TRAVIS_RUST_VERSION -y" failed and exited with 1 during .
Added so that
x25519_dalek::PublicKey
has the same as_bytes/to_bytes fns ased25519_dalek::PublicKey
Also added
.to_bytes()
toSharedSecret
for consistency.