Skip to content
This repository has been archived by the owner on Apr 16, 2019. It is now read-only.

Q: Why 'use' passwords? #54

Closed
ecki opened this issue Oct 31, 2016 · 2 comments
Closed

Q: Why 'use' passwords? #54

ecki opened this issue Oct 31, 2016 · 2 comments
Assignees
Labels

Comments

@ecki
Copy link

ecki commented Oct 31, 2016

You asked for questions in issue form, so here is one: Iron is based in deriving keys formencryption and authentication from a password with PBKDF. By default it uses a low iteration count.

I wonder why allow passwords at all. In a similar system I am using (hex encoded) completely random keys (and a tool to generate them together with a random Id). I derive the actual encryption keys with HKDF since I am sure there is no entropy problem with non-humanly chosen secrets.

@hueniverse
Copy link
Contributor

If by allowing passwords you mean no requiring buffer keys that are fed directly into iron, I don't see the harm in that. These tools are designed to be used by people who fully understand the security properties of the protocol. Iron usage of password makes sense for the many other use cases it is used for.

@hueniverse hueniverse self-assigned this Nov 24, 2016
@Dynom
Copy link

Dynom commented Nov 25, 2016

[...] These tools are designed to be used by people who fully understand the security properties of the protocol. [...]

So was oAuth2 @hueniverse (-;

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

No branches or pull requests

3 participants