Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Are you a turtle?


sci / sci.crypt / Re: Using Diceware, BIP39 and leetspeak for Argon2id keys

SubjectAuthor
* Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
+* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
|`- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
+* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysMarcel Logen
|`* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
| +- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
| `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysMarcel Logen
`* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysRich
 `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
  `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysRich
   `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    +* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysRich
    |`* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    | +- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    | +- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    | `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysDoc O'Leary ,
    |  `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    |   `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
    `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysDoc O'Leary ,
     `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
      `* Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas
       `- Re: Using Diceware, BIP39 and leetspeak for Argon2id keysStefan Claas

1
Subject: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 09:39 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 09:39:06 -0000
Organization: Ch1ffr3punk5
Message-ID: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 09:39:28 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="2988701"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Date: It's Sun 11310 Sep 1993 11:39:06 AM CEST, the September that never ends
X-Ed25519-Sig: bb48530c6c468298993f262ea73deda82e80021976c7723a858bb8222cc1b498
faa01f034102ac573486adb8ad708ef1da806325249e0740101076935009710e
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Finger: tilde.club/~pollux/
View all headers

Hi all,

regarding my previous thread about memorizing a 128/256 bit key,
I came up with the following idea to create Argon2id keys.

Now we only need to memorize our Diceware passphrase.

This task shoulb be carried out on an offline Computer.

I am using four Golang programs, called dwp (diceware passphrase),
dice2bip, leetspeak and argon2id, which you can find on my GitHub
page at:

https://github.com/stefanclaas/

Usage of leetspeak is optional.

First we start with dwp:

$ dwp -r 6 -d eff_large_wordlist.txt -p
Diceware number 1: 51534 - reselect
Diceware number 2: 25455 - envelope
Diceware number 3: 42252 - nuptials
Diceware number 4: 35561 - lapping
Diceware number 5: 26225 - expand
Diceware number 6: 24453 - earpiece

Complete passphrase: reselect envelope nuptials lapping expand earpiece

Now we use the Diceware passphrase for dice2bip:

$ dice2bip -passphrase "reselect envelope nuptials lapping expand earpiece"
24-word mnemonic:
project clock spirit taste shoulder trumpet what system
radio boat local sock pond gauge cancel hundred
annual ugly fuel void execute sausage angle knee

Optionally we can use leetspeak for eight words:

$ echo "annual ugly fuel void execute sausage angle knee" | leetspeak
4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33

Lastly we create our Argon2id key, used as an 256 bit encryption key,
or as final passphrase for a password mananger etc. The -p parameter
uses the first sixteen words from the dice2bip output and the -s parameter
uses the last eight words, wich we had run through leetspeak.

$ argon2id -p "project clock spirit taste shoulder trumpet what system radio boat local sock pond gauge cancel hundred" -s "4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33"

Our final result: b3ff9d34181c4771dd9ec993c78b2d5b2cc809024c9447f97468893f0d70e611

So, all in all, we only have to remember the Diceware passphrase to reconstruct
our encryption key.

Hope you like the idea!

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 10:52 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 10:52:57 -0000
Organization: Ch1ffr3punk5
Message-ID: <de04aeeaf5f2cd9360bc821531c592c511ad4f67@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 10:52:58 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="2994733"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Ed25519-Sig: 9243e3e42f689c023b6075ed414afa6ddf098d9ff03b02de5ecabb7d9940aa5f
f587bc984afe65332f803c87937e039176d337e2358067ab55580d098847c30b
X-Date: It's Sun 11310 Sep 1993 12:52:57 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Stefan Claas wrote:
>
> Hi all,
>
> regarding my previous thread about memorizing a 128/256 bit key,
> I came up with the following idea to create Argon2id keys.
>
> Now we only need to memorize our Diceware passphrase.
>
> This task shoulb be carried out on an offline Computer.
>
> I am using four Golang programs, called dwp (diceware passphrase),
> dice2bip, leetspeak and argon2id, which you can find on my GitHub
> page at:
>
> https://github.com/stefanclaas/
>
> Usage of leetspeak is optional.
>
> First we start with dwp:
>
> $ dwp -r 6 -d eff_large_wordlist.txt -p
> Diceware number 1: 51534 - reselect
> Diceware number 2: 25455 - envelope
> Diceware number 3: 42252 - nuptials
> Diceware number 4: 35561 - lapping
> Diceware number 5: 26225 - expand
> Diceware number 6: 24453 - earpiece
>
> Complete passphrase: reselect envelope nuptials lapping expand earpiece

I have updated dwp, so that instead of blanks between the words, one can
use, with the -s paramter, a special character as seperator, along the -p
parameter.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 12:55 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 12:55:59 -0000
Organization: Ch1ffr3punk5
Message-ID: <baeed51109c834201a3ea804abaa793d9a60df14@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <de04aeeaf5f2cd9360bc821531c592c511ad4f67@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 12:56:00 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3003800"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Ed25519-Sig: e70a69607968bfa3e445af2083c127a2896883eb4de284c8e73aa2a98814547d
2c9877518eee96c1342294ea4bf7191a0bfc505ec089ef0515d3bb4c17280509
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Date: It's Sun 11310 Sep 1993 02:56:00 PM CEST, the September that never ends
View all headers

Stefan Claas wrote:
> Stefan Claas wrote:
> >
> > Hi all,
> >
> > regarding my previous thread about memorizing a 128/256 bit key,
> > I came up with the following idea to create Argon2id keys.
> >
> > Now we only need to memorize our Diceware passphrase.
> >
> > This task shoulb be carried out on an offline Computer.
> >
> > I am using four Golang programs, called dwp (diceware passphrase),
> > dice2bip, leetspeak and argon2id, which you can find on my GitHub
> > page at:
> >
> > https://github.com/stefanclaas/
> >
> > Usage of leetspeak is optional.
> >
> > First we start with dwp:
> >
> > $ dwp -r 6 -d eff_large_wordlist.txt -p
> > Diceware number 1: 51534 - reselect
> > Diceware number 2: 25455 - envelope
> > Diceware number 3: 42252 - nuptials
> > Diceware number 4: 35561 - lapping
> > Diceware number 5: 26225 - expand
> > Diceware number 6: 24453 - earpiece
> >
> > Complete passphrase: reselect envelope nuptials lapping expand earpiece
>
> I have updated dwp, so that instead of blanks between the words, one can
> use, with the -s paramter, a special character as seperator, along the -p
> parameter.

Example:

$ dwp -r 6 -d eff_large_wordlist.txt -p -s "$"
Diceware number 1: 13325 - basically
Diceware number 2: 53463 - seltzer
Diceware number 3: 43121 - outwit
Diceware number 4: 62222 - thorn
Diceware number 5: 33612 - header
Diceware number 6: 13351 - battery

Complete passphrase: basically$seltzer$outwit$thorn$header$battery

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Marcel Logen
Newsgroups: sci.crypt
Organization: Bureau Logen
Date: Sun, 18 Aug 2024 13:47 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: 333200007110-0201@ybtra.de (Marcel Logen)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 15:47:20 +0200
Organization: Bureau Logen
Message-ID: <20240818su134720@o15.ybtra.de>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Aug 2024 15:47:20 +0200
Injection-Info: tota-refugium.de;
logging-data="1477256"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
Cancel-Lock: sha1:ukuAVKMbWVpkfINyoKyw7tntcGM=
X-Face: D8$s|(Mm[173A3't`KK0`R9'?5}8\$m^W,jE)1[6X@WYf!:j2yn6Rd2+#0o<[3?|IOEoR2iwE8.^Pv"#Yd&24t56g298y]lddskA?%^l$O;.AmQ\JYMCq_c+)g3tiK']I7i[|v%8D)RM~{R4'pnLK'Kz-
X-User-ID: eJwNyEkBwDAIBEBLEFggcsrlX0I6z4EYW7kaTLFY1xiZ/dfvOQs+BOqujU4A2WoV+91kIeGJBxGRENY=
View all headers

Stefan Claas in sci.crypt:

>regarding my previous thread about memorizing a 128/256 bit key,
>I came up with the following idea to create Argon2id keys.
>
>Now we only need to memorize our Diceware passphrase.
>
>This task shoulb be carried out on an offline Computer.
>
>I am using four Golang programs, called dwp (diceware passphrase),
>dice2bip, leetspeak and argon2id, which you can find on my GitHub
>page at:
>
>https://github.com/stefanclaas/
>
>Usage of leetspeak is optional.
>
>First we start with dwp:
>
>$ dwp -r 6 -d eff_large_wordlist.txt -p
>Diceware number 1: 51534 - reselect
>Diceware number 2: 25455 - envelope
>Diceware number 3: 42252 - nuptials
>Diceware number 4: 35561 - lapping
>Diceware number 5: 26225 - expand
>Diceware number 6: 24453 - earpiece
>
>Complete passphrase: reselect envelope nuptials lapping expand earpiece

Calculated entropy: 77 Bits:

number of positions: 30 (6 x 5)
character pool: 1..6

| user15@o15:/tmp$ bc -lq
| 30 * l(6)/l(2)
| 77.54887502163468544431

Quote from <https://en.wikipedia.org/wiki/Diceware>:

| The level of unpredictability of a Diceware passphrase
| can be easily calculated: each word adds 12.9 bits of
| entropy to the passphrase [...]. Originally, in 1995,
| Diceware creator Arnold Reinhold considered five words
| (64.6 bits) the minimal length needed by average users.
| However, in 2014 Reinhold started recommending that at
| least six words (77.5 bits) be used.

[...]

>Our final result: b3ff9d34181c4771dd9ec993c78b2d5b2cc809024c9447f97468893f0d70e611

This result has an entropy of 77 Bits, too. IMHO.

Not 256 Bits, as you might think, as reshaping doesn't
add any amount of entropy, AFAIR.

Marcel (Lines: 63)
--
────╮ ╭────────╮ ╭──╮ ╭───────╮ ..60..╭───╮
╭──╯ ╰──────╮ ╰───╮ ╭─╯ ╰─╮ ╭───╮ ╰──╮ ╭─╯ ╭──╮ ..58..╭─╯ ╰──
╰─╮ ╭──╮ ╰──╮ ╰─╯ ╭───╯ ╰─╮ ╰───╮ │ │ │ ╰──╮ ╭───╯ ..67..
╰──╯ ╰───────╯ ╰────────╯ ╰─╯ ╰─────╯ ╰─╯ ..67..

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 14:35 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 14:35:51 -0000
Organization: Ch1ffr3punk5
Message-ID: <5b9051380284857077b8898b1e41bb8ac4bd902e@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <20240818su134720@o15.ybtra.de>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 14:36:14 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3013593"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: b504e61a14ba6d1abb155e97de90e364cee1f20bb924abcbee8c72bc8bc08109
ac3969700338487f3fe2b3c78c1a1f3f4b92033b95139f8b8bb58c1f4c475a0b
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Finger: tilde.club/~pollux/
X-Date: It's Sun 11310 Sep 1993 04:35:51 PM CEST, the September that never ends
View all headers

Marcel Logen wrote:
> Stefan Claas in sci.crypt:
>
> > regarding my previous thread about memorizing a 128/256 bit key,
> > I came up with the following idea to create Argon2id keys.
> >
> > Now we only need to memorize our Diceware passphrase.
> >
> > This task shoulb be carried out on an offline Computer.
> >
> > I am using four Golang programs, called dwp (diceware passphrase),
> > dice2bip, leetspeak and argon2id, which you can find on my GitHub
> > page at:
> >
> > https://github.com/stefanclaas/
> >
> > Usage of leetspeak is optional.
> >
> > First we start with dwp:
> >
> > $ dwp -r 6 -d eff_large_wordlist.txt -p
> > Diceware number 1: 51534 - reselect
> > Diceware number 2: 25455 - envelope
> > Diceware number 3: 42252 - nuptials
> > Diceware number 4: 35561 - lapping
> > Diceware number 5: 26225 - expand
> > Diceware number 6: 24453 - earpiece
> >
> > Complete passphrase: reselect envelope nuptials lapping expand earpiece
>
> Calculated entropy: 77 Bits:
>
> number of positions: 30 (6 x 5)
> character pool: 1..6
>
> | user15@o15:/tmp$ bc -lq
> | 30 * l(6)/l(2)
> | 77.54887502163468544431
>
> Quote from <https://en.wikipedia.org/wiki/Diceware>:
>
> | The level of unpredictability of a Diceware passphrase
> | can be easily calculated: each word adds 12.9 bits of
> | entropy to the passphrase [...]. Originally, in 1995,
> | Diceware creator Arnold Reinhold considered five words
> | (64.6 bits) the minimal length needed by average users.
> | However, in 2014 Reinhold started recommending that at
> | least six words (77.5 bits) be used.
>
> [...]
>
> > Our final result: b3ff9d34181c4771dd9ec993c78b2d5b2cc809024c9447f97468893f0d70e611
>
> This result has an entropy of 77 Bits, too. IMHO.
>
> Not 256 Bits, as you might think, as reshaping doesn't
> add any amount of entropy, AFAIR.

You left out the important step of BIP39 usage, prior
generating the final key. My BIP39 program accepts any
strings, not only diceware passphrases.

Let alone leetspeak usage, so that Eve would never figure
out what combination was used.

People might argue that this is security by obsurity,
which I do not think, because it is made public, for
discussion and I also strongly believe that through
BIP39 usage the entropy is much more to generate a 256
bit Argon2id key.

The way you IMHO calculate the entropy, with bc, is
not what public entropy calculators do.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 15:37 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 15:37:28 -0000
Organization: Ch1ffr3punk5
Message-ID: <0f2afef89b1ae010e1dbbe8c4da0bf77f948f6d0@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <20240818su134720@o15.ybtra.de> <5b9051380284857077b8898b1e41bb8ac4bd902e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 18 Aug 2024 15:37:29 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3019262"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Date: It's Sun 11310 Sep 1993 05:37:28 PM CEST, the September that never ends
X-Ed25519-Sig: 7c088a1c5e3df965aaa95270c0603ca6070802918f50405c517db8f0a8dfd7fb
26caf3abec09306157a4a69ca1b11484bb89fad1628b511b5b47ba77c260340b
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Stefan Claas wrote:
> Marcel Logen wrote:
> > Stefan Claas in sci.crypt:
> >
> > > regarding my previous thread about memorizing a 128/256 bit key,
> > > I came up with the following idea to create Argon2id keys.
> > >
> > > Now we only need to memorize our Diceware passphrase.
> > >
> > > This task shoulb be carried out on an offline Computer.
> > >
> > > I am using four Golang programs, called dwp (diceware passphrase),
> > > dice2bip, leetspeak and argon2id, which you can find on my GitHub
> > > page at:
> > >
> > > https://github.com/stefanclaas/
> > >
> > > Usage of leetspeak is optional.
> > >
> > > First we start with dwp:
> > >
> > > $ dwp -r 6 -d eff_large_wordlist.txt -p
> > > Diceware number 1: 51534 - reselect
> > > Diceware number 2: 25455 - envelope
> > > Diceware number 3: 42252 - nuptials
> > > Diceware number 4: 35561 - lapping
> > > Diceware number 5: 26225 - expand
> > > Diceware number 6: 24453 - earpiece
> > >
> > > Complete passphrase: reselect envelope nuptials lapping expand earpiece
> >
> > Calculated entropy: 77 Bits:
> >
> > number of positions: 30 (6 x 5)
> > character pool: 1..6
> >
> > | user15@o15:/tmp$ bc -lq
> > | 30 * l(6)/l(2)
> > | 77.54887502163468544431
> >
> > Quote from <https://en.wikipedia.org/wiki/Diceware>:
> >
> > | The level of unpredictability of a Diceware passphrase
> > | can be easily calculated: each word adds 12.9 bits of
> > | entropy to the passphrase [...]. Originally, in 1995,
> > | Diceware creator Arnold Reinhold considered five words
> > | (64.6 bits) the minimal length needed by average users.
> > | However, in 2014 Reinhold started recommending that at
> > | least six words (77.5 bits) be used.

Ok. now with a russian wordlist and a seperator. Would Eve
know that I used another Diceware wordlist, along with BIP39,
for creating an Argon2id key ...???

There are a couple of wordlists and one can create his own.

$ dwp -r 6 -d russian.txt -p -s "*"
Diceware number 1: 41644 - лад
Diceware number 2: 13132 - башкир
Diceware number 3: 11654 - аполог
Diceware number 4: 62335 - ужин
Diceware number 5: 56323 - суржа
Diceware number 6: 15314 - вагон

Complete passphrase: лад*башкир*аполог*ужин*суржа*вагон

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Rich
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Sun, 18 Aug 2024 17:32 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 17:32:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <v9tb6n$2euft$6@dont-email.me>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org>
Injection-Date: Sun, 18 Aug 2024 19:32:07 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="27a8b87db7433b5fa1dd735d9d0e6b28";
logging-data="2587133"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GT6A0yOZrTls0XKYPT8Jr"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:fDZaHRWCmwD1tG+1CRhQ/ExhPqQ=
View all headers

Stefan Claas <pollux@tilde.club> wrote:
> $ argon2id -p \
"project clock spirit taste shoulder trumpet what system radio boat local sock pond gauge cancel hundred" \
-s "4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33"
>
> ...
>
> So, all in all, we only have to remember the Diceware passphrase to reconstruct
> our encryption key.

I suggest you perform a test.

Today, attempt to memorize your dicewords/leetspeek example above.

Then, wait seven days.

Then, try to regurgitate it (without cheating) and see how well you did.

Then, wait fourteen days.

Repeat trying to remember it (without cheating).

Continue with longer intervals at your pleasure.

I predict that you will find it difficult to remember those random word
sententes after only a short timeframe, likely somewhere on the order
of 7-28 days.

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 18:17 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 18:17:37 -0000
Organization: Ch1ffr3punk5
Message-ID: <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 18:17:59 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3033529"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Finger: tilde.club/~pollux/
X-Ed25519-Sig: 97482f3be1a46152c6443b9ed3e659dcf3f5056fbd9f7e7ecc0d147df95987e9
5493e7c6346ea648d5438d4566ec13674afb2ba73fb8692e0c46b641a6250005
X-Date: It's Sun 11310 Sep 1993 08:17:37 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
View all headers

Rich wrote:
> Stefan Claas <pollux@tilde.club> wrote:
> > $ argon2id -p \
> "project clock spirit taste shoulder trumpet what system radio boat local sock pond gauge cancel hundred" \
> -s "4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33"
> >
> > ...
> >
> > So, all in all, we only have to remember the Diceware passphrase to reconstruct
> > our encryption key.
>
> I suggest you perform a test.
>
> Today, attempt to memorize your dicewords/leetspeek example above.
>
> Then, wait seven days.
>
> Then, try to regurgitate it (without cheating) and see how well you did.
>
> Then, wait fourteen days.
>
> Repeat trying to remember it (without cheating).
>
> Continue with longer intervals at your pleasure.
>
> I predict that you will find it difficult to remember those random word
> sententes after only a short timeframe, likely somewhere on the order
> of 7-28 days.

In my example above we have to memorize six words, without leetspeak.

reselect envelope nuptials lapping expand earpiece

If we write them down as two words per line, we have 3 lines of text
to remember, wich should be doable, like we learned much longer poems
at school, I would say.

I would also argue that one can replace words, they do not like, with
their own ones. Or one can completely omit the Diceware step and uses
his own passphrase with my dice2bip program.

For myself I do not use English words, I use German words.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Rich
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Sun, 18 Aug 2024 18:39 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 18:39:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 61
Message-ID: <v9tf44$2fts4$1@dont-email.me>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org>
Injection-Date: Sun, 18 Aug 2024 20:39:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="27a8b87db7433b5fa1dd735d9d0e6b28";
logging-data="2619268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2Mt3A6FrzSR+p2wZ3Wf/W"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:Rq/SerUTJN6DLTehzCNOahfA8XU=
View all headers

Stefan Claas <pollux@tilde.club> wrote:
> Rich wrote:
>> Stefan Claas <pollux@tilde.club> wrote:
>> > $ argon2id -p \
>> "project clock spirit taste shoulder trumpet what system radio boat local sock pond gauge cancel hundred" \
>> -s "4nnu41 u61y fu31 v01d 3x3cu73 54u5463 4n613 kn33"
>> >
>> > ...
>> >
>> > So, all in all, we only have to remember the Diceware passphrase to reconstruct
>> > our encryption key.
>>
>> I suggest you perform a test.
>>
>> Today, attempt to memorize your dicewords/leetspeek example above.
>>
>> Then, wait seven days.
>>
>> Then, try to regurgitate it (without cheating) and see how well you did.
>>
>> Then, wait fourteen days.
>>
>> Repeat trying to remember it (without cheating).
>>
>> Continue with longer intervals at your pleasure.
>>
>> I predict that you will find it difficult to remember those random word
>> sententes after only a short timeframe, likely somewhere on the order
>> of 7-28 days.
>
> In my example above we have to memorize six words, without leetspeak.
>
> reselect envelope nuptials lapping expand earpiece
>
> If we write them down as two words per line, we have 3 lines of text
> to remember, wich should be doable, like we learned much longer poems
> at school, I would say.
>
> I would also argue that one can replace words, they do not like, with
> their own ones. Or one can completely omit the Diceware step and uses
> his own passphrase with my dice2bip program.
>
> For myself I do not use English words, I use German words.

My point is: "Try for yourself to memorize one of these, for some length
of time".

If you want to use German words, use German words. But make one up
"six words", "eight words", "??? words", your choice.

Then do an actual "memory test". Try to memorize it, then give yourself
varying lengths of time between not 'remembering' it to see how well
you can retain the random words.

I predict you'll find that without periodic refreshment, that after an
unexpected short time, you'll have mis-remembered at least one word or
the order of at least one word.

Beyond the few 'memory savants', most human memories, without periodic
refreshing, are quite lossy. More like DRAM than SRAM.

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Sun, 18 Aug 2024 18:50 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 18:50:17 -0000
Organization: Ch1ffr3punk5
Message-ID: <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Sun, 18 Aug 2024 18:50:39 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3036323"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Date: It's Sun 11310 Sep 1993 08:50:17 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: b2bebe4976a9f41a2efb16dcbc2da56bc708551c6f7ca293300b2e629aaab39f
eb05941480d5bc2c7ebac6f5b99ff1c76e52f4b76986a349b81feaa6feb49801
X-Finger: tilde.club/~pollux/
View all headers

Rich wrote:
> Stefan Claas <pollux@tilde.club> wrote:

> > In my example above we have to memorize six words, without leetspeak.
> >
> > reselect envelope nuptials lapping expand earpiece
> >
> > If we write them down as two words per line, we have 3 lines of text
> > to remember, wich should be doable, like we learned much longer poems
> > at school, I would say.
> >
> > I would also argue that one can replace words, they do not like, with
> > their own ones. Or one can completely omit the Diceware step and uses
> > his own passphrase with my dice2bip program.
> >
> > For myself I do not use English words, I use German words.
>
> My point is: "Try for yourself to memorize one of these, for some length
> of time".
>
> If you want to use German words, use German words. But make one up
> "six words", "eight words", "??? words", your choice.

I already did this a while ago with six German words and can still
rember them.
> Then do an actual "memory test". Try to memorize it, then give yourself
> varying lengths of time between not 'remembering' it to see how well
> you can retain the random words.

Ok. I will do.

> I predict you'll find that without periodic refreshment, that after an
> unexpected short time, you'll have mis-remembered at least one word or
> the order of at least one word.

Well, what would you suggest then, as an example, some cool selfmade rhymes,
easy to remember or a self made peom etc., spiced up with special chars
between the words?

Eve can't know for sure what we can come up with in our minds, can she?

> Beyond the few 'memory savants', most human memories, without periodic
> refreshing, are quite lossy. More like DRAM than SRAM.

Well, then old school saying: practice makes perfect.

BTW. Like I said, we can completely omit the Diceware step and use whatever
we want with BIP39 and Argon2id.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Rich
Newsgroups: sci.crypt
Organization: A noiseless patient Spider
Date: Sun, 18 Aug 2024 19:40 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: rich@example.invalid (Rich)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Sun, 18 Aug 2024 19:40:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <v9tine$2gcq3$1@dont-email.me>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org>
Injection-Date: Sun, 18 Aug 2024 21:40:30 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="27a8b87db7433b5fa1dd735d9d0e6b28";
logging-data="2634563"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dWQWAs9CPCAy+FKI0b/1d"
User-Agent: tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Cancel-Lock: sha1:JbSj1r4MdJoEkvO5WEh+9A2kQaA=
View all headers

Stefan Claas <pollux@tilde.club> wrote:
> Rich wrote:
>> Then do an actual "memory test". Try to memorize it, then give yourself
>> varying lengths of time between not 'remembering' it to see how well
>> you can retain the random words.
>
> Ok. I will do.
>
>> I predict you'll find that without periodic refreshment, that after an
>> unexpected short time, you'll have mis-remembered at least one word or
>> the order of at least one word.
>
> Well, what would you suggest then,

Dicewords, etc. are good, and have usefulnesses, but are not a panacea.

For some individuals with better memory ability, they will work well.
For a fairly large group of "general people" they will be ok provided
they get periodic refreshing (i.e., usage, to reinforce the memory).
And for some subset of "general people" they won't be able to remember
even six dicewords in their native language accurately the very next
day.

The solution, as Bruce Schriber has stated, is to "write them down" and
store the slip of paper in some reasonably secure manner (one of his
recommendations was on one's wallet). Naturally if dealing with
spycraft and border searches then this changes radically, but for that
usage all but the worst subset of memories could likely replay six dice
words in their head just long enough to make it through a border
crossing search (to be written down again on the other side of the
border).

They *very much* do improve over asking a human to remember something
like (this is just the md5sum of 1k of /dev/urandom data):

038d71180f7880dca1125e160e1258df

But for all but the, say, top 10% of memory ability folks, they will
need to be "using" the diceword phrase on a fairly regular basis to
have any hope of remembering them long term.

>> Beyond the few 'memory savants', most human memories, without periodic
>> refreshing, are quite lossy. More like DRAM than SRAM.
>
> Well, then old school saying: practice makes perfect.

For all but the bottom 10% of memory ability folks, likely yes, but
they do need a reason to 'practice' the phrase. Without that practice
they will have it quickly slip their mind.

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Doc O'Leary ,
Newsgroups: sci.crypt
Organization: Subsume Technologies, Inc.
Date: Mon, 19 Aug 2024 15:19 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: droleary.usenet@2023.impossiblystupid.com (Doc O'Leary ,)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Mon, 19 Aug 2024 15:19:17 -0000 (UTC)
Organization: Subsume Technologies, Inc.
Lines: 22
Message-ID: <v9vnpl$2tcji$1@dont-email.me>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Aug 2024 17:19:17 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7154aea749479c4272036151f09e4e5f";
logging-data="3060338"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cic9ycen1cbLWoUiPNxcvyYVUHOG5fUs="
User-Agent: com.subsume.NNTP/1.0.0
Cancel-Lock: sha1:jZg+Ch2Ny08v4/ksmOlvbXktDxQ=
View all headers

For your reference, records indicate that
Stefan Claas <pollux@tilde.club> wrote:

> Well, what would you suggest then, as an example, some cool selfmade rhymes,
> easy to remember or a self made peom etc., spiced up with special chars
> between the words?

One semi-clever thing I did for encoding locations as words:

<https://www.impossiblystupid.com/node/227/?content=be-+-direction>

was to allow the word list to be used flexibly to construct more “meaningful” phrases.

> Eve can't know for sure what we can come up with in our minds, can she?

The mind is a poor random number generator, though. That’s probably what makes it so bad at memorizing random *anything*. So the tools we need are ones that add meaning, and do so without reducing unpredictability. A tall order, to be sure.

--
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Mon, 19 Aug 2024 15:54 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.mixmin.net!news.neodome.net!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Mon, 19 Aug 2024 15:54:12 -0000
Organization: Ch1ffr3punk5
Message-ID: <62c76971f611cc49ece1a862850491375aaed1f0@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9vnpl$2tcji$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Aug 2024 15:54:14 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3132672"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Date: It's Mon 11311 Sep 1993 05:54:12 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: 3bb26a9c4b4ea05a443cdde895effcd752456c0e2632aff88193e7b81b39a62c
f6a96a6fb02e9a5e65687ba5b34c4734dd4e634aad1e1ad6b2202ee28466aa0f
View all headers

Doc O'Leary wrote:
> For your reference, records indicate that
> Stefan Claas <pollux@tilde.club> wrote:
>
> > Well, what would you suggest then, as an example, some cool selfmade rhymes,
> > easy to remember or a self made peom etc., spiced up with special chars
> > between the words?
>
> One semi-clever thing I did for encoding locations as words:
>
> <https://www.impossiblystupid.com/node/227/?content=be-+-direction>
>
> was to allow the word list to be used flexibly to construct more “meaningful” phrases.

Really nice idea, thanks for sharing.
> > Eve can't know for sure what we can come up with in our minds, can she?
>
> The mind is a poor random number generator, though. That’s probably what makes it so bad at memorizing random *anything*. So the tools we need are ones that add meaning, and do so without reducing unpredictability. A tall order, to be sure.

Yes, and I always try to come up with something worth discussing IMHO.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Mon, 19 Aug 2024 16:07 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Mon, 19 Aug 2024 16:07:10 -0000
Organization: Ch1ffr3punk5
Message-ID: <1f74e9f27528d61bc1e1f548f5c41a9181019f46@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9vnpl$2tcji$1@dont-email.me> <62c76971f611cc49ece1a862850491375aaed1f0@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Aug 2024 16:07:33 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3134074"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Finger: tilde.club/~pollux/
X-Date: It's Mon 11311 Sep 1993 06:07:10 PM CEST, the September that never ends
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: 8b19a82d027f82a53ec6ff70b24688e8ce2c6cd8387843f40e491daee517b79b
7f415e6654730e9017184965d6c252ef125f2682cfc7a52221ae9fdc2deea40d
View all headers

Stefan Claas wrote:
> Doc O'Leary wrote:
> > For your reference, records indicate that
> > Stefan Claas <pollux@tilde.club> wrote:
> >
> > > Well, what would you suggest then, as an example, some cool selfmade rhymes,
> > > easy to remember or a self made peom etc., spiced up with special chars
> > > between the words?
> >
> > One semi-clever thing I did for encoding locations as words:
> >
> > <https://www.impossiblystupid.com/node/227/?content=be-+-direction>
> >
> > was to allow the word list to be used flexibly to construct more “meaningful” phrases.
>
> Really nice idea, thanks for sharing.

BTW. I figured out something IMHO really nice.

When using my dice2bip program with a '0', for example, as passphrase value
I get the following BIP39 mnemonics:

$ dice2bip -passphrase 0
24-word mnemonic:
grow chronic river sand follow wide spell depth change exclude diet disease around couple buzz domain public addict pave focus top crane glue valid

And now comes the fun part.

Feeding this mnemonic into https://iancoleman.io/bip39/ and pressing
the Show entropy details, I have made the '0' 256 bit entropy so to speak
and could theoretically use the hex values as deterministic encryption key.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Mon, 19 Aug 2024 19:03 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Mon, 19 Aug 2024 19:03:33 -0000
Organization: Ch1ffr3punk5
Message-ID: <e27ab4d6de5838cf9c9c4a8ef65c3155a5d28d08@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9vnpl$2tcji$1@dont-email.me> <62c76971f611cc49ece1a862850491375aaed1f0@i2pn2.org> <1f74e9f27528d61bc1e1f548f5c41a9181019f46@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Mon, 19 Aug 2024 19:03:33 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3148405"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: c30b49917d391f37935361241d1215a9fb56cf7808275a5ce78476a7f61ede6f
c71fc4c650945ea1a642fc115e8ad603626b71ebda5a7091bcf202df7ed25702
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Date: It's Mon 11311 Sep 1993 09:03:33 PM CEST, the September that never ends
View all headers

Stefan Claas wrote:

> BTW. I figured out something IMHO really nice.
>
> When using my dice2bip program with a '0', for example, as passphrase value
> I get the following BIP39 mnemonics:
>
> $ dice2bip -passphrase 0
> 24-word mnemonic:
> grow chronic river sand follow wide spell depth change exclude diet disease around couple buzz domain public addict pave focus top crane glue valid
>
> And now comes the fun part.
>
> Feeding this mnemonic into https://iancoleman.io/bip39/ and pressing
> the Show entropy details, I have made the '0' 256 bit entropy so to speak
> and could theoretically use the hex values as deterministic encryption key.

I renamed my dice2bip program, on GitHub, to p2m (password to mnemonic)
and it has now a feature added to show the entropy, as hex value, of the
mnemonic phrase.

This allows one for example to use the mnemonic phrase from a Ledger Hardware
Wallet to use as 256 bit encryption key. :-D

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Marcel Logen
Newsgroups: sci.crypt
Organization: Bureau Logen
Date: Tue, 20 Aug 2024 14:27 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: 333200007110-0201@ybtra.de (Marcel Logen)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Tue, 20 Aug 2024 16:27:38 +0200
Organization: Bureau Logen
Message-ID: <20240820tu142738@o15.ybtra.de>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <20240818su134720@o15.ybtra.de> <5b9051380284857077b8898b1e41bb8ac4bd902e@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 20 Aug 2024 16:27:38 +0200
Injection-Info: tota-refugium.de;
logging-data="1568187"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
Cancel-Lock: sha1:trSx/XD3XrE4CUatQz0C9BC+RDk=
X-User-ID: eJwVyMERAEEEBMCUOAzCWWon/xC2rp8dBsWmI+DBYFphT2dwPln8XdTr67LSqXUNNdHDg+L4AwwaELw=
X-Face: (sy3Jnw;C.0_|hWU)8k[}U*b>5+caZD3a$c(q,mngcq\_<|HaYaIm;THga4|8!0:h+0j/)<j~<@pMPyTc(j!H{BZ32fost4Vn^5i|!Vh[Q,{@F'Qe+it4jC{APBPse]z(&2/JoG;j$3bCSmyckLrbap1?eE
View all headers

Stefan Claas in sci.crypt:

>Marcel Logen wrote:
>> Stefan Claas in sci.crypt:

[...]

>> > Our final result: b3ff9d34181c4771dd9ec993c78b2d5b2cc809024c9447f97468893f0d70e611
>>
>> This result has an entropy of 77 Bits, too. IMHO.

Oh, sorry. That is a result of Argon2.

Therefore there is an additional entropy feeded into
the result.

Marcel (Lines: 22)
--
╭─────────╮ ╭──╮ ╭───────╮ ..45..╭─────────────────────
╮ │ ╭──────╯ │ ╰──╯ ╭────╯ ╭──╮ ╰────╮ ╭───╮ ..67..
╰───╯ ╰───╮ ╭──╯ ╭─────╯ ╭─╮ ╭───╯ ╰───╮ ╰─╯ ╭─╯ ..67..
╰───╯ ╰──────────────╯ ╰─╯ ╰───────╯ ..67..

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Tue, 20 Aug 2024 21:38 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Tue, 20 Aug 2024 21:38:24 -0000
Organization: Ch1ffr3punk5
Message-ID: <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me>
MIME-Version: 1.0
Injection-Date: Tue, 20 Aug 2024 21:38:46 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3275254"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Date: It's Tue 11312 Sep 1993 11:38:24 PM CEST, the September that never ends
X-Finger: tilde.club/~pollux/
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Ed25519-Sig: 727b5244ed54e102c8f04e8caa8ac77250c318a59cc373dc458c4249eaf33f9f
681e2bcc942e6d3f10f2b4f30e801210d1071d0459ff2fff372b1bb06d5d9b02
View all headers

Rich wrote:
> Stefan Claas <pollux@tilde.club> wrote:
> > Rich wrote:
> > > Then do an actual "memory test". Try to memorize it, then give yourself
> > > varying lengths of time between not 'remembering' it to see how well
> > > you can retain the random words.
> >
> > Ok. I will do.
> >
> > > I predict you'll find that without periodic refreshment, that after an
> > > unexpected short time, you'll have mis-remembered at least one word or
> > > the order of at least one word.
> >
> > Well, what would you suggest then,
>
> Dicewords, etc. are good, and have usefulnesses, but are not a panacea.
>
> For some individuals with better memory ability, they will work well.
> For a fairly large group of "general people" they will be ok provided
> they get periodic refreshing (i.e., usage, to reinforce the memory).
> And for some subset of "general people" they won't be able to remember
> even six dicewords in their native language accurately the very next
> day.
>
> The solution, as Bruce Schriber has stated, is to "write them down" and
> store the slip of paper in some reasonably secure manner (one of his
> recommendations was on one's wallet). Naturally if dealing with
> spycraft and border searches then this changes radically, but for that
> usage all but the worst subset of memories could likely replay six dice
> words in their head just long enough to make it through a border
> crossing search (to be written down again on the other side of the
> border).
>
> They *very much* do improve over asking a human to remember something
> like (this is just the md5sum of 1k of /dev/urandom data):
>
> 038d71180f7880dca1125e160e1258df
>
> But for all but the, say, top 10% of memory ability folks, they will
> need to be "using" the diceword phrase on a fairly regular basis to
> have any hope of remembering them long term.
>
> > > Beyond the few 'memory savants', most human memories, without periodic
> > > refreshing, are quite lossy. More like DRAM than SRAM.
> >
> > Well, then old school saying: practice makes perfect.
>
> For all but the bottom 10% of memory ability folks, likely yes, but
> they do need a reason to 'practice' the phrase. Without that practice
> they will have it quickly slip their mind.

Ok, understood. Another approach without diceware.
Your thoughts please, gentlemen.

I will use four programs Argon2id, eh (Eurasia-Hasher (one can use the
SHA families instead)) p2m (password to mnemonic) and leetspeak. This
approach should allow many variations, because users can easily repeat
steps, mix them etc. One only has to remember his password/passphrase
(and a salt), like he usually does and variable steps, which should be
IMHO easy to remember.

$ argon2id -p mypassword -s mysalt
0d6cffc82dd3ccd149a3228d1a08cb1007b67cf4ad8c28083665f834478360d0

with leetspeak

$ argon2id -p mypassword -s mysalt | leetspeak
0d6cffc82dd3ccd14943228d1408c81007867cf44d8c28083665f834478360d0

$ p2m -password 0d6cffc82dd3ccd14943228d1408c81007867cf44d8c28083665f834478360d0
24-word mnemonic:
public tragic scan you once possible census drink fossil dragon surround
hammer joke position conduct easy zebra behave april tower couple duck
portion cube

Entropy (hex):
ad1cdf00ff99a9510952185be8436a34478550cbb22eff828c2bf3131287aa11

$ echo ad1cdf00ff99a9510952185be8436a34478550cbb22eff828c2bf3131287aa11 | eh -sm3
11424cb7f3a1fbd806283f23dac38cc067dfa560e99cc18126647ef65b12a8d0
(this hash sum is done with the chinese SM3 hash algo)

So, now I have a deterministic 256 bit key, from the last step.
(11424cb7f3a1fbd806283f23dac38cc067dfa560e99cc18126647ef65b12a8d0)

Like I said one can mix and repeat or omit steps to his heart content,
without remembering Diceware passphrases, while others can use Diceware.

I guess this is now a more flexible approach.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Tue, 20 Aug 2024 22:33 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Tue, 20 Aug 2024 22:33:47 -0000
Organization: Ch1ffr3punk5
Message-ID: <5a6c5f4cd666329d7270eecb979c7289c758388b@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me> <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Tue, 20 Aug 2024 22:34:09 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3279399"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Finger: tilde.club/~pollux/
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Date: It's Wed 11313 Sep 1993 12:33:47 AM CEST, the September that never ends
X-Ed25519-Sig: 83d1042353768a8c667d442ae9e030ad312ec9ed4f924b2812f7d5a5cb3786d1
c25aa607771b8d11dbf14d819b14193fb455c478e15f0d06ce51643b8b975b01
X-Spam-Checker-Version: SpamAssassin 4.0.0
View all headers

Stefan Claas wrote:
> So, now I have a deterministic 256 bit key, from the last step.
> (11424cb7f3a1fbd806283f23dac38cc067dfa560e99cc18126647ef65b12a8d0)
>
> Like I said one can mix and repeat or omit steps to his heart content,
> without remembering Diceware passphrases, while others can use Diceware.

Another example of my technique.

$ echo mystrongpassword | eh (uses now the Russian GOST 256 bit hash)
264bc0c69892780c99992157d746cc1d07aad09eeb675421194662daed4b9826

$ echo 264bc0c69892780c99992157d746cc1d07aad09eeb675421194662daed4b9826 | half
lh: 264bc0c69892780c99992157d746cc1d
rh: 07aad09eeb675421194662daed4b9826

$ argon2id -p 07aad09eeb675421194662daed4b9826 -s 264bc0c69892780c99992157d746cc1d
864a8bfa28bad9211519c3fb985d603a733bc63ba232a2691db1c9316de3195c

$ p2m -password 864a8bfa28bad9211519c3fb985d603a733bc63ba232a2691db1c9316de3195c
24-word mnemonic:
nuclear fury senior little electric era uniform foster endless fatal badge episode
prison panic holiday bind owner crack keep odor unable roof swamp weird

Entropy (hex):
974bcf0ec1447698bb5ae049aa7045a5fab13f5b30b29e2639e74c9ec57776cf
(my final 256 bit encryption key)

or

$ p2m -password mystrongpassphrase
24-word mnemonic:
must age elephant behave essence ivory genuine student category laundry
jealous smile knee roof assume poet oxygen biology rather cannon coast
genius traffic very

Entropy (hex):
9200991f0a34d4edd856bb242fb5de6657b977437d399e42cec910b2ccc1f9b7

$ echo 9200991f0a34d4edd856bb242fb5de6657b977437d399e42cec910b2ccc1f9b7 | half
lh: 9200991f0a34d4edd856bb242fb5de66
rh: 57b977437d399e42cec910b2ccc1f9b7

$ argon2id -p --9200991f0a34d4edd856bb242fb5de66-- -s --57b977437
d399e42cec910b2ccc1f9b7--
042adaae85112a95b9de95405de75eae95b03e5676a7f9a9e047e324c8488139

and so on ... :-)

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Wed, 21 Aug 2024 16:08 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Wed, 21 Aug 2024 16:08:45 -0000
Organization: Ch1ffr3punk5
Message-ID: <8522c9c10cdb710befad7e4431beb85517d2031c@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me> <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 16:08:46 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3360843"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Date: It's Wed 11313 Sep 1993 06:08:45 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
X-Ed25519-Sig: 0f022c719b8515f9d4ea6f3da31a385fca51b8981076d43830d85f9f7214127b
c94deb6efc358307679594da01d256c6fc8494d1910bcac266f869c176a56e0c
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Finger: tilde.club/~pollux/
View all headers

Stefan Claas wrote:

> So, now I have a deterministic 256 bit key, from the last step.
> (11424cb7f3a1fbd806283f23dac38cc067dfa560e99cc18126647ef65b12a8d0)
>
> Like I said one can mix and repeat or omit steps to his heart content,
> without remembering Diceware passphrases, while others can use Diceware.
>
> I guess this is now a more flexible approach.

Now my p2m program has a -salt paramter and PDKDF2 support.

$ echo -n "Из России с любовью." | eh | half
lh: 8e3ac353eec771e6a4d0d6febf734ea4
rh: 9fe103803768f76acac3a1e4b8c3720e

$ p2m -password 9fe103803768f76acac3a1e4b8c3720e -salt 8e3ac353eec771e6a4d0d6febf734ea4
24-word mnemonic:
alert virus special loyal start another tornado avoid fire twist add crumble
advance atom crisp rich option holiday day knife inject use already click

Entropy (hex):
063e9343c24d4a13395880573d700c9a603e1c8cedca9bad98e03dd741df41c9

What I have not shown yet, is as initial step, to base(n) encode the
first password, to give even more variations, without using Diceware.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Doc O'Leary ,
Newsgroups: sci.crypt
Organization: Subsume Technologies, Inc.
Date: Wed, 21 Aug 2024 16:10 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: droleary.usenet@2023.impossiblystupid.com (Doc O'Leary ,)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Wed, 21 Aug 2024 16:10:41 -0000 (UTC)
Organization: Subsume Technologies, Inc.
Lines: 15
Message-ID: <va53i1$3tq95$1@dont-email.me>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me> <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 18:10:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ec1e6ce18e00dc4f9bd0944945d01a08";
logging-data="4122917"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+miWp//61sw3BiXtec3YHxck6mKfJj6B8="
User-Agent: com.subsume.NNTP/1.0.0
Cancel-Lock: sha1:OBtBKzrv+s7a2Jnce7vv3NIMQ4c=
View all headers

For your reference, records indicate that
Stefan Claas <pollux@tilde.club> wrote:

> Ok, understood. Another approach without diceware.

I say you’re still focusing on the wrong part of the problem. Getting 24
random words is *not* a mnemonic! If there is any processing to do with
the bits, it is to make the randomness more humanly meaningful, or to
help with error correction for imperfect recall.

--
"Also . . . I can kill you with my brain."
River Tam, Trash, Firefly

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Wed, 21 Aug 2024 16:29 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Wed, 21 Aug 2024 16:29:39 -0000
Organization: Ch1ffr3punk5
Message-ID: <d5ee4c16dd5cbdd00e0857d408bbb43623cbc3fa@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me> <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org> <va53i1$3tq95$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Aug 2024 16:29:41 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3360843"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Ed25519-Sig: 73c5629dddb10143ce05ef3b5f180f0a43595eee4be82da183c64a6dc662ece6
fc63d75fde4294ee985d0cd44bbf3dd3d7e56f5c4593ebf4317f6c5f429ff00c
X-Finger: tilde.club/~pollux/
X-Date: It's Wed 11313 Sep 1993 06:29:39 PM CEST, the September that never ends
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
View all headers

Doc O'Leary wrote:
> For your reference, records indicate that
> Stefan Claas <pollux@tilde.club> wrote:
>
> > Ok, understood. Another approach without diceware.
>
> I say you’re still focusing on the wrong part of the problem. Getting 24
> random words is *not* a mnemonic! If there is any processing to do with
> the bits, it is to make the randomness more humanly meaningful, or to
> help with error correction for imperfect recall.

My p2m program uses a password and salt, with PDKDF2, and from that the
BIP39 mnemonic is generated and the entropy, instead of a random seed.

You can feed my examples into this form:

https://iancoleman.io/bip39/

So why do I focus on the wrong part? I do not understand. I like to make
it easy for users to generate a deterministic 256 bit key, or used as
password, while Eve and friends should now have a problem, due to the
many variations possible, to generate such a key. No Diceware usage, as
per Rich's comments. Instead easy to remember steps, with a couple of
programs.

--
Regards
Stefan

Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
From: Stefan Claas
Newsgroups: sci.crypt
Organization: Ch1ffr3punk5
Date: Wed, 21 Aug 2024 19:38 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: pollux@tilde.club (Stefan Claas)
Newsgroups: sci.crypt
Subject: Re: Using Diceware, BIP39 and leetspeak for Argon2id keys
Date: Wed, 21 Aug 2024 19:38:50 -0000
Organization: Ch1ffr3punk5
Message-ID: <392a80d403b07722b1cf1c2cc1f6b2252ceee5e6@i2pn2.org>
References: <fe80a8e31f3560eaa056f683595dcccfb8a8f8a7@i2pn2.org> <v9tb6n$2euft$6@dont-email.me> <e8fb2ca5aae1ccb493f7cd3a7c4ae00f9107de1d@i2pn2.org> <v9tf44$2fts4$1@dont-email.me> <3d9c7a0df306d40a9d5ef84acb50013bf405384c@i2pn2.org> <v9tine$2gcq3$1@dont-email.me> <0e596498674dac43a1893374f46c06499c009af0@i2pn2.org> <va53i1$3tq95$1@dont-email.me> <d5ee4c16dd5cbdd00e0857d408bbb43623cbc3fa@i2pn2.org>
MIME-Version: 1.0
Injection-Date: Wed, 21 Aug 2024 19:39:12 -0000 (UTC)
Injection-Info: i2pn2.org;
logging-data="3384317"; mail-complaints-to="usenet@i2pn2.org";
posting-account="ieSrCjSDShpZNyqIW52mlwIkg76Hsp+TOOO6KTdfCN8";
User-Agent: flnews/1.3.0pre9 (for GNU/Linux)
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Finger: tilde.club/~pollux/
X-Date: It's Wed 11313 Sep 1993 09:38:50 PM CEST, the September that never ends
X-Ed25519-Sig: 33f77a2e4bc0bfb84581ed14d4de24559a3dde40122796bc56198cc6221097f3
8b7ffc40b81c6d8b08bf5606fe756b9cfdcd21d2c7c5826b42146978ecc6560b
X-Ed25519-Pub: c0ffee5a36e581eb10f60b2831b3cdb955d2e7ef680dd282a8d43ad8b84b357a
View all headers

Stefan Claas wrote:

> My p2m program uses a password and salt, with PDKDF2, and from that the
> BIP39 mnemonic is generated and the entropy, instead of a random seed.

How about this ...

$ openssl rand -hex 64 | half
lh: 86d1ec11406024f86c24c24efde152e189a6119758ae7a5a026dbf85da53795d
rh: 2282d25a7234a333c45d4d3af7fa513c74bc42664389f99184eda428da2e8693

$ argon2id -p 2282d25a7234a333c45d4d3af7fa513c74bc42664389f99184eda428da2e8693
-s 86d1ec11406024f86c24c24efde152e189a6119758ae7a5a026dbf85da53795d

a770799128f1dc4e3ef9028c797b6bd6ffbfc5833dc4b0e3433dc606e6979aaa

I can't regenerate this 256 bit encryption key. :-(

But with p2m I can regenerate a 256 bit encryption key from a radom seed,
thanks to mnemonic words. :-)

--
Regards
Stefan

1

rocksolid light 0.9.8
clearnet tor