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

Feature: Add the MasterPassword pass derivation algorithm #4

Open
Atrate opened this issue Aug 30, 2020 · 10 comments
Open

Feature: Add the MasterPassword pass derivation algorithm #4

Atrate opened this issue Aug 30, 2020 · 10 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Atrate
Copy link
Contributor

Atrate commented Aug 30, 2020

The MasterPassword algorithm is a password derivation algorithm that uses a single master password (and the site URL + a counter) in order to generate unique, but reproducible passwords without the need to store them.

Since there are no secure (with encrypted storage) and nice looking apps utilizing that algorithm, I personally think that passwd could include it as another method of generating passwords, alongside Diceware and the random method.

https://masterpassword.app/masterpassword-algorithm.pdf
https://gitlab.com/MasterPassword/MasterPassword

@gargakshit gargakshit self-assigned this Aug 30, 2020
@gargakshit gargakshit added enhancement New feature or request good first issue Good for newcomers labels Aug 30, 2020
@gargakshit
Copy link
Member

Hey Atrate
First of all thanks for the feature request.

So from what I understood, this is like HOTP for a password (instead of a 2FA OTP) 🤔
Please correct me if I am wrong here.

PS: I am still reading the document, and will reply as soon as I am finished. From what I have read till now, this seems to be implementable.

@gargakshit
Copy link
Member

Also, I wanted to know which sites support that algorithm (just out of curiosity)

@Atrate
Copy link
Contributor Author

Atrate commented Aug 30, 2020

Also, I wanted to know which sites support that algorithm (just out of curiosity)

It is not website-dependent. It simply generates passwords from a set of variables (master password, website name, counter). If the user provides the same variables on e.g. another device, the generated password will be the same.

A non-technical information sheet can be found here: https://masterpassword.app/how/

@gargakshit
Copy link
Member

Also, I wanted to know which sites support that algorithm (just out of curiosity)

It is not website-dependent. It simply generates passwords from a set of variables (master password, website name, counter). If the user provides the same variables on e.g. another device, the generated password will be the same.

A non-technical information sheet can be found here: https://masterpassword.app/how/

It needs the name to generate the layer 1 (the key). So I guess I will implement this after completing sync, as I will request the user's email and backup password to login and decrypt the backup.

@gargakshit
Copy link
Member

So the counter is the number of times you have changed your password (to get a unique password)

@Atrate
Copy link
Contributor Author

Atrate commented Feb 19, 2021

MasterPassword has changed its name to Spectre: https://spectre.app/

@gargakshit
Copy link
Member

I think their design goals are different from our design goals. Also for that algorithm, we would need to enable sync (which is currently self hosted only)

@Atrate
Copy link
Contributor Author

Atrate commented Feb 20, 2021

Also for that algorithm, we would need to enable sync

Spectre/MPW is stateless, it doesn't really need any kind of synchronisation

@gargakshit
Copy link
Member

Also for that algorithm, we would need to enable sync

Spectre/MPW is stateless, it doesn't really need any kind of synchronisation

Actually I get it. It would be a stateless synchronization. Would be a good idea to implement a similar feature. Are you present on telegram? I would like to have a quick chat with you :)

@Atrate
Copy link
Contributor Author

Atrate commented Feb 20, 2021

No, but you can hit me up on Matrix at @Atrate:matrix.org or via e-mail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants