Skip to content
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

Enable getrandom feature by defaut; improve docs #446

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

tarcieri
Copy link
Member

The getrandom feature transitively activates aead/getrandom and makes aead::OsRng available.

RNG access is pretty essential for successful use of these crates. It's needed to generate random keys as the very least.

The documentation has also been updated to show the generation of random keys, as opposed to using a hardcoded one.

The `getrandom` feature transitively activates `aead/getrandom` and
makes `aead::OsRng` available.

RNG access is pretty essential for successful use of these crates. It's
needed to generate random keys as the very least.

The documentation has also been updated to show the generation of random
keys, as opposed to using a hardcoded one.
@codecov-commenter
Copy link

Codecov Report

Merging #446 (7759ac9) into master (4637eb5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #446   +/-   ##
=======================================
  Coverage   87.21%   87.21%           
=======================================
  Files          40       40           
  Lines        1955     1955           
=======================================
  Hits         1705     1705           
  Misses        250      250           
Impacted Files Coverage Δ
aes-gcm-siv/src/lib.rs 81.81% <ø> (ø)
aes-gcm-siv/tests/aes128gcmsiv.rs 100.00% <ø> (ø)
aes-gcm-siv/tests/aes256gcmsiv.rs 100.00% <ø> (ø)
aes-gcm/src/lib.rs 86.79% <ø> (ø)
aes-gcm/tests/aes128gcm.rs 100.00% <ø> (ø)
aes-gcm/tests/aes256gcm.rs 100.00% <ø> (ø)
aes-gcm/tests/other_ivlen.rs 100.00% <ø> (ø)
aes-siv/src/lib.rs 75.00% <ø> (ø)
ccm/src/lib.rs 96.58% <ø> (ø)
chacha20poly1305/src/lib.rs 76.92% <ø> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4637eb5...7759ac9. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants