13 Commits

Author SHA1 Message Date
e81544ff5f c,python: Add the 'b' pattern for base64 encoded strings
Change the default pattern to use a short base64 string at the end.
This increses the used bits to generate a password from 65 to 73.
2021-11-15 01:18:39 +01:00
0a7046d45c python: Fix s and x patterns 2021-11-15 01:17:52 +01:00
0c266f5792 c,python: Add '+' to the list of special characters 2021-11-15 01:16:28 +01:00
bcae51ead9 c,python: Use little-endina byte order for bigint arithmetics
This better matches what one would expect from the hex or base64
(upcoming) formats.
2021-11-15 01:13:17 +01:00
cc473f4c24 c,python: Change the algorithm for hashing the master password to Argon2 2021-11-14 09:59:51 +01:00
44a0466553 python: Change the usage header.
Change the usage header from _Passgeny - Password Generator_ to
_Passgeny - Not a Passowrd Manager_
2021-11-14 09:10:36 +01:00
56d4b3fc13 python: Remove the x pattern. Rename X to `x'. 2021-11-14 09:10:12 +01:00
8f0a1a5c4b python: Increase the argon2 hash length: 64 -> 128 bytes
Warning: This affects password generation, but is hopefully the last
change to do so.
2021-11-14 09:08:43 +01:00
96b83673ee python: Remove debug message from the passgeny module 2021-11-12 15:41:43 +01:00
5e074c6ab9 python: Implement main module
This commit implements the python main cli module. Currently it supports
a preliminary set of command line options but should be able to
successfully generate passwords.
2021-11-10 23:29:01 +01:00
ea5abfe149 python: Implement phogen encode
Implement phogen.encode() to encode Bhashes to phogen strings. This
commit also adds unit tests for the above function.
2021-11-09 19:26:03 +01:00
638f1771a8 meson: Setup the Meson build infrastructure 2021-09-28 11:36:20 +02:00
93f9c75131 python: Add initial prototype 2021-09-28 11:36:20 +02:00