[dpass] - passcodes instead of passwords for symmetric encryption

Stefan Claas <[email protected]>
Newsgroups sci.crypt,alt.cypherpunks
Organization To protect and to server
Message-ID <[email protected]>
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

-- 
Onion Courier Home Server Mon-Fri 15:00-21:00 UTC Sat-Sun 11:00-21:00 UTC
ohpmsq5ypuw5nagt2jidfyq72jvgw3fdvq37txhnm5rfbhwuosftzuyd.onion:8080 inbox
 age1yubikey1qv5z678j0apqhd4ng7p22g4da8vxy3q5uvthg6su76yj0y8v7wp5kvhstum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.