# \[dup-mnemonic\] cli mnemotic passphrase generator

**URL:** <https://forum.duniter.org/t/dup-mnemonic-cli-mnemotic-passphrase-generator/6922>\
**Category:** Tools\
**Tags:** mnemonic\
**Created:** [15 February 2020 22:00 UTC](https://forum.duniter.org/t/dup-mnemonic-cli-mnemotic-passphrase-generator/6922 "2020-02-15T22:00:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Frederic\_Renault](https://forum.duniter.org/user_avatar/forum.duniter.org/frederic_renault/32/3778_2.png) [@Frederic\_Renault](https://forum.duniter.org/u/Frederic_Renault)\
**Post date:** [16 February 2020 15:56 UTC](https://forum.duniter.org/t/dup-mnemonic-cli-mnemotic-passphrase-generator/6922/2 "2020-02-16T15:56:50Z")

</div>

❤ MERCI

Je n’ai pas pu encore essayer à cause d’un soucis de paquet deb.

> **[dpkg-deb: erreur: 'dup-mnemotic-0.1.0-linux-x64.deb' is not a Debian format...](https://git.duniter.org/tools/dup-mnemonic-rs/-/issues/1)**
>
> sudo dpkg -i dup-mnemotic-0.1.0-linux-x64.deb dpkg-deb: erreur: 'dup-mnemotic-0.1.0-linux-x64.deb' is not a Debian format archive

Je n’ai pas de armv8 pour tester l’autre release.  
J’utilise pluto armv7 (Rpi3B+) et armv6 ([RpiZero](https://raspberrypi.stackexchange.com/questions/83374/raspberry-pi-zero-w-is-armv6-or-armv7))

Ensuite on se sert de ces 9 mots pour faire des clefs .ed25519 ( [Définir un format sécurisé pour les trousseaux de clés Ğ1](https://forum.duniter.org/t/definir-un-format-standard-pour-les-trousseaux-de-cles-g1/6904)) ?

Avec python, on fait…

```auto
from sys import argv
from duniterpy.key import SigningKey

# path to save to
path = "PubSec.dunikey"

key = SigningKey.from_credentials(argv[1], argv[2], None)
key.save_pubsec_file(path)
print(
    "Authentication file '", path, "' generated and stored in current\
folder for following public key:",
    key.pubkey,
)

```

---

_[View the full topic](https://forum.duniter.org/t/dup-mnemonic-cli-mnemotic-passphrase-generator/6922)._
