Extensions des fichiers d’authentification

Je tombe sur la doc d’une lib cliente pour SSB.

// configuration:
var keys = ssbKeys.loadOrCreateSync('./app-private.key')
ssbClient(
  keys,                // optional, defaults to ~/.ssb/secret
  {
    host: 'localhost', // optional, defaults to localhost
    port: 8008,        // optional, defaults to 8008
    key: keys.id,      // optional, defaults to keys.id
   // ...
)

ils semblent utiliser une extension .key et un format Json. Et un chemin par défaut de la clef : ~/.ssb/secret.

je trouve cela assez intuitif, comme nommage, non ?

EDIT: la doc des ssb-keys est ici : GitHub - ssb-js/ssb-keys: keyfile operations for ssb

{
  "curve": "ed25519",
  "public": "<base64_public_key>.ed25519",
  "private": "<base64_private_key>.ed25519",
  "id": "@<base64_public_key>.ed25519"
}