{"id":22485596,"url":"https://github.com/duniter/duniter-keypair","last_synced_at":"2025-06-12T21:03:41.255Z","repository":{"id":57217152,"uuid":"78833846","full_name":"duniter/duniter-keypair","owner":"duniter","description":"Official module providing a keypair to the Duniter node.","archived":false,"fork":false,"pushed_at":"2017-05-24T07:56:46.000Z","size":165,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-08T23:12:37.592Z","etag":null,"topics":["duniter","keypair","module"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duniter.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-13T09:14:08.000Z","updated_at":"2020-12-10T22:08:06.000Z","dependencies_parsed_at":"2022-08-28T21:01:42.492Z","dependency_job_id":null,"html_url":"https://github.com/duniter/duniter-keypair","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duniter%2Fduniter-keypair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duniter%2Fduniter-keypair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duniter%2Fduniter-keypair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duniter%2Fduniter-keypair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duniter","download_url":"https://codeload.github.com/duniter/duniter-keypair/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228499981,"owners_count":17929991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["duniter","keypair","module"],"created_at":"2024-12-06T17:12:53.307Z","updated_at":"2024-12-06T17:14:45.086Z","avatar_url":"https://github.com/duniter.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"duniter-keypair\n===============\n\nA module providing the cryptographic keypair required by the Duniter_ node.\n\nFeatures\n--------\n\nProvide a cryptographic keypair (Ed25519) using scrypt_ derivation mechanism from a salt and a passphrase.\n\nUsage\n-----\n\n.. code:: bash\n\n  duniter config --salt abc --passwd def\n    \nThis will *store* in Duniter configuration file a keypair derived from ``abc`` and ``def`` strings:\n\n.. code:: json\n\n  {\n    \"pair\": {\n      \"pub\": \"G2CBgZBPLe6FSFUgpx2Jf1Aqsgta6iib3vmDRA1yLiqU\",\n      \"sec\": \"58LDg8QLmF5pv6Dn9h7X4yFKfMTdP8fdAiWVcyDoTRJu454fwRihCLULH4MW37zncsg4ruoTGJPZneWk22QmG1w4\"\n    }\n  }\n\nCLI options\n-----------\n\nThis module provide the following options:\n\n``--salt``\n\nA string to use along with ```--passwd``` option to derive from with scrypt.\n\n``--passwd``\n\nA string to use along with ```--salt``` option to derive from with scrypt.\n\n``--keyprompt``\n\nInstead of giving salt and password on program call, this option will prompt you the values from the command line at runtime. You will have to *type* them with your fingers.\n\nThe derivated keypair **won't be stored on filesystem** but only be used in memory. If you wan't to use this keypair again, you will have to give to answer the prompt again as well.\n\n``--keyfile``\n\nSame behavior as ``--keyprompt``, but the salt and password are given by a file instead of a prompt.\n\n.. _Duniter: https://github.com/duniter/duniter\n.. _scrypt: https://en.wikipedia.org/wiki/Scrypt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduniter%2Fduniter-keypair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduniter%2Fduniter-keypair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduniter%2Fduniter-keypair/lists"}