passforios icon indicating copy to clipboard operation
passforios copied to clipboard

More customizable passoword generator

Open giovi321 opened this issue 5 years ago • 3 comments

I believe the password generator feature is awesome, I believe the "apple keychain" flavor is extremely convenient as it produces secures yet simple to copy passwords. However, it produces very short passwords: maybe it would be a nice feature to add a length parameter in the settings?

giovi321 avatar Feb 13 '20 09:02 giovi321

Basically, we are using SecCreateSharedWebCredentialPassword [1] to generate "apple flavor" Password. I think this can be improved in many ways: length, character sets, symbols, etc.

[1] https://developer.apple.com/documentation/security/1618050-seccreatesharedwebcredentialpass

mssun avatar Feb 22 '20 06:02 mssun

I would like to spend some effort to implement a more customizable password generator.

SimplyDanny avatar Feb 22 '20 19:02 SimplyDanny

About Apple's Keychain Style, it is in the same format used by Safari autofill (xxx-xxx-xxx-xxx).

I agree with you guys that we need more flavors. I am a big fan of XKCD, and XKCD style password. I added XKCD style password and pushed my codes (fe21f1c8da6e42a96a3c1370e6da99633bcecf6a) just a few minutes ago. The new XKCD-flavor generator is still in its early stage, the ultimate goal is something like https://xkpasswd.net/s/.

@SimplyDanny I am glad that we are on the same page. Feel free to add more generator (or make current generators more customizable).

ps. I have no more time to work on pwd generators this weekend. There is no need to worry about potential code conflicts.

yishilin14 avatar Feb 22 '20 19:02 yishilin14