Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 19:11:33 |
Calls: | 449 |
Files: | 1,042 |
Messages: | 96,794 |
Hi all,
while playing with TOTP https://github.com/706f6c6c7578/TOTP I thought
it may be useful to have an option to generate deterministic passcoded,
valid for 24 hrs, instead of using passwords, for symmetric encryption.
$ dpass -h
Usage: dpass [options]
Options:
-p string
Shared password for deterministic passcode generation
-s string
Shared salt for deterministic passcode generation
-l int
Length of the generated passcode (Default 16)
-h
Show this help message and exit
$ dpass
Enter the shared password: test
Enter the shared salt: test
Passcode (16 characters): 4PFVCHS4DMZTPAZG
Valid from 2025-02-23 00:00:00 UTC to 2025-02-23 23:59:59 UTC.
What do you think about using passcodes for symmetric encryption?
Regards
Stefan
Entering passwords in commandline is a heresy.
Chax Plore wrote:
Entering passwords in commandline is a heresy.
How do you do that with GnuPG when using symmetric encryption?
Regards
Stefan