Comments (7)
crate is fine as it does what is mostly advertised and documented (this is a very weak point of that crate). As mentioned above pwhash
is a crate that does what we want, that uses rust-crypto
as an crypto implementation.
I'm about to submit a PR that implement bcrypt() as password hashing.
from users.
FYI: The crate we're using, rust-crypto
, supports this.
from users.
"support" with air quotes.
from users.
but there is the crate pwhash
that should provide what is need, and it uses rust-crypto
.
from users.
@hfiguiere I'm not sure what you mean by:
"support" with air quotes.
I didn't dig into it myself, but the list of supported algorithms included bcrypt. Does it not actually do bcrypt hashing? Are there known issues with this crate?
Also, we're using rust-crypto
in foxbox/src/stable_uuid.rs
. If there is an issue with this crate we should call it out in that repo too.
from users.
Just to clarify what I said earlier in better terms. rust-crypto
supports bcrypt as a cypher. pwhash
implements password hashing using, amongst other things, bcrypt
as implemented by rust-crypto
, following the standard hash format.
from users.
Closed by #71
from users.
Related Issues (20)
- Return session JWT on successful POST /setup request HOT 2
- Keep in sync rust version with foxbox HOT 3
- Get rid of not implemented endpoints HOT 1
- Check responses body on tests
- Get rid of main.rs scratchpad and add some examples instead
- Put test dependency out of regular build
- Bump nightly version HOT 1
- Refactor auth middleware HOT 2
- Expose an API to set the database filename. HOT 2
- Expose a AuthenticationMiddleware.verify method HOT 1
- Intermittent test failures HOT 5
- Move code into foxbox HOT 1
- Update rust nightly to 03-07 HOT 2
- Support secure browser resources HOT 7
- Fail to response with errno 102 and message in case of password shorter than 8 chars
- Implement backoff protocol
- Require one shot session token for user activation
- Add a limited ttl to tokens and implement refresh auth flow
- Interview partners for research about communication in GitHub projects wanted
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 users.