Comments (8)
Thank you for reporting this! The problem is in the blake2
crate, we have provided incorrect block sizes (32 bytes instead of 64 for blake2s and 64 instead of 128 for blake2b). I will publish an update ASAP.
from macs.
Done! I've published blake2
v0.8.1 and yanked v0.8.0. Running cargo update
should fix the issue. Can you please confirm?
from macs.
Confirmed working.
from macs.
I think it would be worthwhile to file a RustSec advisory for this. The affected version was released October 2018 while the fixed version was released August this year. Also, according to libs.rs, the blake2
crate is used in 148 other crates.
Note: I haven't checked the other versions.
from macs.
This definitely falls under RustSec's "cryptographic failure" category
from macs.
@tarcieri
Can you create the advisory? v0.8.0 is already yanked, but I am not sure what should be done with the earlier versions.
from macs.
@newpavlov sure
from macs.
Opened a PR with an advisory here: rustsec/advisory-db#151
from macs.
Related Issues (20)
- Missing MACs HOT 6
- Can we get a crate version targeting digest 0.8 please? HOT 1
- hmac: introduce a helper trait to simplify public bounds HOT 6
- What am I doing wrong? HOT 2
- Usage with generics HOT 2
- implementation of Reset is now behind feature flag. HOT 2
- cmac: size of cavp_aes128.blb HOT 2
- kmac: Towards an implementation HOT 4
- Support non-cloneable BlockCiphers HOT 3
- Create CMAC from an already-created block cipher instance? HOT 1
- cmac: test CAVP vectors
- Cannot use new_varkey() with question mark HOT 1
- sha2 0.8 incompatability HOT 1
- hmac: Missing CHANGELOG entry for NewMac::new_from_slice HOT 4
- Hashing file functions HOT 2
- how to get String result? HOT 3
- hmac 0.7.0 has a yanked dependency on crypto-mac HOT 2
- blake2-mac: move MAC functionality from the blake2 crate HOT 1
- Migrate cmac, daa, and pmac to digest v0.10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macs.