Re: [dpass] - passcodes instead of passwords for symmetric encryption

Chax Plore <[email protected]>
Newsgroups sci.crypt,alt.cypherpunks
Organization i2pn2 (i2pn.org)
Message-ID <[email protected]>
On 2025-02-23 11:02, Stefan Claas wrote:
> 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.

-- 

-----BEGIN PGP PUBLIC KEY FINGERPRINT-----
5745 807C 2B82 14D8 AB06 422C 8876 5DFC 2A51 778C
------END PGP PUBLIC KEY FINGERPRINT------
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.