Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!newsfeed.bofh.team!paganini.bofh.team!not-for-mail From: Stefan Claas Newsgroups: sci.crypt,alt.cypherpunks Subject: [dpass] - passcodes instead of passwords for symmetric encryption Date: Sun, 23 Feb 2025 11:02:19 +0100 Organization: To protect and to server Message-ID: Mime-Version: 1.0 Injection-Date: Sun, 23 Feb 2025 10:02:21 -0000 (UTC) Injection-Info: paganini.bofh.team; logging-data="3040849"; posting-host="LTHUuP1NOUsYYOewAkOEEQ.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A"; User-Agent: flnews/1.3.0pre29 (for GNU/Linux) Cancel-Lock: sha1:tPoh0V80JbGK7Y2PhpLJHyhFm6k= X-Ed25519-Sig: 6f62a83fa931558610c3bafbd255ecf93f4619783f207b88f8f269f58c31b9c4 187d181a979956c8c140f98baaa9b0872ac40d5f98fae5f3b235adfb1438890c X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a X-Date: It's Sun Sep 11499 11:02:22 AM CET 1993, the September that never ends. X-Notice: Filtered by postfilter v. 0.9.3 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