git.schokokeks.org
Repositories
Help
Report an Issue
derivepassphrase.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
50490f6
Branches
Tags
documentation-tree
master
0.1.0
0.1.1
0.1.2
0.1.3
0.2.0
0.3.0
0.3.1
0.3.2
0.3.3
derivepassphrase.git
0.x
reference
derivepassphrase-vault.1
index.html
Deployed ffee25004de8 to 0.x with MkDocs 1.6.1 and mike 2.1.3
Marco Ricci
commited
50490f6
at 2024-10-21 15:11:06
index.html
Blame
History
Raw
<!doctype html> <html lang="en" class="no-js"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="description" content="An almost faithful Python reimplementation of James Coglan's vault."> <meta name="author" content="Marco Ricci"> <link rel="canonical" href="https://the13thletter.info/derivepassphrase/0.x/reference/derivepassphrase-vault.1/"> <link rel="prev" href="../derivepassphrase.1/"> <link rel="next" href="../derivepassphrase-export.1/"> <link rel="icon" href="../../assets/images/favicon.png"> <meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.39"> <title>Man page: derivepassphrase-vault - derivepassphrase</title> <link rel="stylesheet" href="../../assets/stylesheets/main.8c3ca2c6.min.css"> <style>:root{--md-text-font:"Noto Sans";--md-code-font:"Noto Mono"}</style> <link rel="stylesheet" href="../../assets/_mkdocstrings.css"> <link rel="stylesheet" href="../../mkdocstrings_recommended_styles.css"> </head> <body dir="ltr"> <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off"> <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off"> <label class="md-overlay" for="__drawer"></label> <div data-md-component="skip"> <a href="#derivepassphrase-vault1" class="md-skip"> Skip to content </a> </div> <div data-md-component="announce"> </div> <div data-md-color-scheme="default" data-md-component="outdated" hidden> </div> <div class="md-container" data-md-component="container"> <nav class="md-tabs" aria-label="Tabs" data-md-component="tabs"> <div class="md-grid"> <ul class="md-tabs__list"> <li class="md-tabs__item"> <a href="../.." class="md-tabs__link"> Overview </a> </li> <li class="md-tabs__item"> <a href="../../tutorials/basic-setup-passphrase/" class="md-tabs__link"> Tutorials & Examples </a> </li> <li class="md-tabs__item md-tabs__item--active"> <a href="../" class="md-tabs__link"> Reference </a> </li> <li class="md-tabs__item"> <a href="../../changelog/" class="md-tabs__link"> Changelog </a> </li> </ul> </div> </nav> <main class="md-main" data-md-component="main"> <div class="md-main__inner md-grid"> <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" > <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0"> <label class="md-nav__title" for="__drawer"> <a href="../.." title="derivepassphrase" class="md-nav__button md-logo" aria-label="derivepassphrase" data-md-component="logo"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg> </a> derivepassphrase </label> <div class="md-nav__source"> <a href="https://github.com/the-13th-letter/derivepassphrase" title="Go to repository" class="md-source" data-md-component="source"> <div class="md-source__icon md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81"/></svg> </div> <div class="md-source__repository"> the-13th-letter/derivepassphrase </div> </a> </div> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../.." class="md-nav__link"> <span class="md-ellipsis"> Overview </span> </a> </li> <li class="md-nav__item md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" > <label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0"> <span class="md-ellipsis"> Tutorials & Examples </span> <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false"> <label class="md-nav__title" for="__nav_2"> <span class="md-nav__icon md-icon"></span> Tutorials & Examples </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../../tutorials/basic-setup-passphrase/" class="md-nav__link"> <span class="md-ellipsis"> Tutorial: setting up derivepassphrase vault for three accounts, with a master passphrase </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" checked> <div class="md-nav__link md-nav__container"> <a href="../" class="md-nav__link "> <span class="md-ellipsis"> Reference </span> </a> <label class="md-nav__link " for="__nav_3" id="__nav_3_label" tabindex=""> <span class="md-nav__icon md-icon"></span> </label> </div> <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="true"> <label class="md-nav__title" for="__nav_3"> <span class="md-nav__icon md-icon"></span> Reference </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../derivepassphrase.1/" class="md-nav__link"> <span class="md-ellipsis"> Man page: derivepassphrase </span> </a> </li> <li class="md-nav__item md-nav__item--active"> <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc"> <label class="md-nav__link md-nav__link--active" for="__toc"> <span class="md-ellipsis"> Man page: derivepassphrase-vault </span> <span class="md-nav__icon md-icon"></span> </label> <a href="./" class="md-nav__link md-nav__link--active"> <span class="md-ellipsis"> Man page: derivepassphrase-vault </span> </a> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class="md-nav__title" for="__toc"> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> <li class="md-nav__item"> <a href="#name" class="md-nav__link"> <span class="md-ellipsis"> NAME </span> </a> </li> <li class="md-nav__item"> <a href="#synopsis" class="md-nav__link"> <span class="md-ellipsis"> SYNOPSIS </span> </a> </li> <li class="md-nav__item"> <a href="#description" class="md-nav__link"> <span class="md-ellipsis"> DESCRIPTION </span> </a> </li> <li class="md-nav__item"> <a href="#options" class="md-nav__link"> <span class="md-ellipsis"> OPTIONS </span> </a> <nav class="md-nav" aria-label="OPTIONS"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#password-generation" class="md-nav__link"> <span class="md-ellipsis"> Password generation </span> </a> </li> <li class="md-nav__item"> <a href="#configuration" class="md-nav__link"> <span class="md-ellipsis"> Configuration </span> </a> </li> <li class="md-nav__item"> <a href="#storage-management" class="md-nav__link"> <span class="md-ellipsis"> Storage management </span> </a> </li> <li class="md-nav__item"> <a href="#other-options" class="md-nav__link"> <span class="md-ellipsis"> Other Options </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="#warnings" class="md-nav__link"> <span class="md-ellipsis"> WARNINGS </span> </a> </li> <li class="md-nav__item"> <a href="#see-also" class="md-nav__link"> <span class="md-ellipsis"> SEE ALSO </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="../derivepassphrase-export.1/" class="md-nav__link"> <span class="md-ellipsis"> Man page: derivepassphrase-export </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase-export-vault.1/" class="md-nav__link"> <span class="md-ellipsis"> Man page: derivepassphrase-export-vault </span> </a> </li> <li class="md-nav__item md-nav__item--section md-nav__item--nested"> <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3_6" > <label class="md-nav__link" for="__nav_3_6" id="__nav_3_6_label" tabindex=""> <span class="md-ellipsis"> Module derivepassphrase </span> <span class="md-nav__icon md-icon"></span> </label> <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_3_6_label" aria-expanded="false"> <label class="md-nav__title" for="__nav_3_6"> <span class="md-nav__icon md-icon"></span> Module derivepassphrase </label> <ul class="md-nav__list" data-md-scrollfix> <li class="md-nav__item"> <a href="../derivepassphrase.cli/" class="md-nav__link"> <span class="md-ellipsis"> Submodule cli </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase.exporter/" class="md-nav__link"> <span class="md-ellipsis"> Subpackage exporter </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase.sequin/" class="md-nav__link"> <span class="md-ellipsis"> Submodule sequin </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase.ssh_agent/" class="md-nav__link"> <span class="md-ellipsis"> Submodule ssh_agent </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase._types/" class="md-nav__link"> <span class="md-ellipsis"> Submodule _types </span> </a> </li> <li class="md-nav__item"> <a href="../derivepassphrase.vault/" class="md-nav__link"> <span class="md-ellipsis"> Submodule vault </span> </a> </li> </ul> </nav> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="../../changelog/" class="md-nav__link"> <span class="md-ellipsis"> Changelog </span> </a> </li> </ul> </nav> </div> </div> </div> <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" > <div class="md-sidebar__scrollwrap"> <div class="md-sidebar__inner"> <nav class="md-nav md-nav--secondary" aria-label="Table of contents"> <label class="md-nav__title" for="__toc"> <span class="md-nav__icon md-icon"></span> Table of contents </label> <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix> <li class="md-nav__item"> <a href="#name" class="md-nav__link"> <span class="md-ellipsis"> NAME </span> </a> </li> <li class="md-nav__item"> <a href="#synopsis" class="md-nav__link"> <span class="md-ellipsis"> SYNOPSIS </span> </a> </li> <li class="md-nav__item"> <a href="#description" class="md-nav__link"> <span class="md-ellipsis"> DESCRIPTION </span> </a> </li> <li class="md-nav__item"> <a href="#options" class="md-nav__link"> <span class="md-ellipsis"> OPTIONS </span> </a> <nav class="md-nav" aria-label="OPTIONS"> <ul class="md-nav__list"> <li class="md-nav__item"> <a href="#password-generation" class="md-nav__link"> <span class="md-ellipsis"> Password generation </span> </a> </li> <li class="md-nav__item"> <a href="#configuration" class="md-nav__link"> <span class="md-ellipsis"> Configuration </span> </a> </li> <li class="md-nav__item"> <a href="#storage-management" class="md-nav__link"> <span class="md-ellipsis"> Storage management </span> </a> </li> <li class="md-nav__item"> <a href="#other-options" class="md-nav__link"> <span class="md-ellipsis"> Other Options </span> </a> </li> </ul> </nav> </li> <li class="md-nav__item"> <a href="#warnings" class="md-nav__link"> <span class="md-ellipsis"> WARNINGS </span> </a> </li> <li class="md-nav__item"> <a href="#see-also" class="md-nav__link"> <span class="md-ellipsis"> SEE ALSO </span> </a> </li> </ul> </nav> </div> </div> </div> <div class="md-content" data-md-component="content"> <article class="md-content__inner md-typeset"> <a href="https://github.com/the-13th-letter/derivepassphrase/raw/master/docs/reference/derivepassphrase-vault.1.md" title="View source of this page" class="md-content__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.2 8.2 0 0 1-1.23-2"/></svg> </a> <h1 id="derivepassphrase-vault1">derivepassphrase-vault(1)<a class="headerlink" href="#derivepassphrase-vault1" title="Permanent link">¶</a></h1> <h2 id="name">NAME<a class="headerlink" href="#name" title="Permanent link">¶</a></h2> <p>derivepassphrase-vault – derive a passphrase using the vault(1) derivation scheme</p> <h2 id="synopsis">SYNOPSIS<a class="headerlink" href="#synopsis" title="Permanent link">¶</a></h2> <div class="highlight"><pre><span></span><code>derivepassphrase vault [OPTIONS] [SERVICE] </code></pre></div> <h2 id="description">DESCRIPTION<a class="headerlink" href="#description" title="Permanent link">¶</a></h2> <p>Using a master passphrase or a master SSH key, derive a passphrase for <i>SERVICE</i>, subject to length, character and character repetition constraints. The derivation is cryptographically strong, meaning that even if a single passphrase is compromised, guessing the master passphrase or a different service’s passphrase is computationally infeasible. The derivation is also deterministic, given the same inputs, thus the resulting passphrase need not be stored explicitly. The service name and constraints themselves also need not be kept secret; the latter are usually stored in a world-readable file.</p> <p>If operating on global settings, or importing/exporting settings, then <i>SERVICE</i> must be omitted. Otherwise it is required.</p> <h2 id="options">OPTIONS<a class="headerlink" href="#options" title="Permanent link">¶</a></h2> <h3 id="password-generation">Password generation<a class="headerlink" href="#password-generation" title="Permanent link">¶</a></h3> <dl> <dt><b>-p</b>, <b>-</b><b>-phrase</b></dt> <dd>prompts you for your passphrase</dd> <dt><b>-k</b>, <b>-</b><b>-key</b></dt> <dd>uses your SSH private key to generate passwords</dd> <dt><b>-l</b>, <b>-</b><b>-length</b> <var>NUMBER</var></dt> <dd>emits password of length <var>NUMBER</var></dd> <dt><b>-r</b>, <b>-</b><b>-repeat</b> <var>NUMBER</var></dt> <dd>allows maximum of <var>NUMBER</var> repeated adjacent chars</dd> <dt><b>-</b><b>-lower</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> lowercase letters</dd> <dt><b>-</b><b>-upper</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> uppercase letters</dd> <dt><b>-</b><b>-number</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> digits</dd> <dt><b>-</b><b>-space</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> spaces</dd> <dt><b>-</b><b>-dash</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> <code>-</code> or <code>_</code></dd> <dt><b>-</b><b>-symbol</b> <var>NUMBER</var></dt> <dd>includes at least <var>NUMBER</var> symbol chars</dd> </dl> <p>Use <var>NUMBER</var>=0, e.g. <code>--symbol 0</code>, to exclude a character type from the output.</p> <h3 id="configuration">Configuration<a class="headerlink" href="#configuration" title="Permanent link">¶</a></h3> <dl> <dt><b>-n</b>, <b>-</b><b>-notes</b></dt> <dd>spawn an editor to edit notes for <var>SERVICE</var></dd> <dt><b>-c</b>, <b>-</b><b>-config</b></dt> <dd>saves the given settings for <var>SERVICE</var> or global</dd> <dt><b>-x</b>, <b>-</b><b>-delete</b></dt> <dd>deletes settings for <var>SERVICE</var></dd> <dt><b>-</b><b>-delete-globals</b></dt> <dd>deletes the global shared settings</dd> <dt><b>-X</b>, <b>-</b><b>-clear</b></dt> <dd>deletes all settings</dd> </dl> <p>Use <code>$VISUAL</code> or <code>$EDITOR</code> to configure the spawned editor.</p> <h3 id="storage-management">Storage management<a class="headerlink" href="#storage-management" title="Permanent link">¶</a></h3> <dl> <dt><b>-e</b>, <b>-</b><b>-export</b> <var>PATH</var></dt> <dd>export all saved settings into file <var>PATH</var></dd> <dt><b>-i</b>, <b>-</b><b>-import</b> <var>PATH</var></dt> <dd>import saved settings from file <var>PATH</var></dd> </dl> <p>Using <code>-</code> as <var>PATH</var> for standard input/standard output is supported.</p> <h3 id="other-options">Other Options<a class="headerlink" href="#other-options" title="Permanent link">¶</a></h3> <dl> <dt><b>–version</b></dt> <dd>Show the version and exit.</dd> <dt><b>-h</b>, <b>-</b><b>-help</b></dt> <dd>Show this message and exit.</dd> </dl> <h2 id="warnings">WARNINGS<a class="headerlink" href="#warnings" title="Permanent link">¶</a></h2> <p>There is <strong>no way</strong> to retrieve the generated passphrases if the master passphrase, the SSH key, or the exact passphrase settings are lost, short of trying out all possible combinations. You are <strong>strongly</strong> advised to keep independent backups of the settings and the SSH key, if any.</p> <p>The configuration is <strong>not</strong> encrypted, and you are <strong>strongly</strong> discouraged from using a stored passphrase.</p> <h2 id="see-also">SEE ALSO<a class="headerlink" href="#see-also" title="Permanent link">¶</a></h2> <p><a href="../derivepassphrase.1/">derivepassphrase(1)</a>, <a href="https://www.npmjs.com/package/vault">vault(1)</a></p> </article> </div> </div> </main> <footer class="md-footer"> <nav class="md-footer__inner md-grid" aria-label="Footer" > <a href="../derivepassphrase.1/" class="md-footer__link md-footer__link--prev" aria-label="Previous: Man page: derivepassphrase"> <div class="md-footer__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg> </div> <div class="md-footer__title"> <span class="md-footer__direction"> Previous </span> <div class="md-ellipsis"> Man page: derivepassphrase </div> </div> </a> <a href="../derivepassphrase-export.1/" class="md-footer__link md-footer__link--next" aria-label="Next: Man page: derivepassphrase-export"> <div class="md-footer__title"> <span class="md-footer__direction"> Next </span> <div class="md-ellipsis"> Man page: derivepassphrase-export </div> </div> <div class="md-footer__button md-icon"> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11z"/></svg> </div> </a> </nav> <div class="md-footer-meta md-typeset"> <div class="md-footer-meta__inner md-grid"> <div class="md-copyright"> <div class="md-copyright__highlight"> Copyright © 2024 Marco Ricci (the-13th-letter) </div> Made with <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> Material for MkDocs </a> and <a href="https://mkdocstrings.github.io/python/" target="_blank" rel="noopener"> mkdocstrings-python </a> </div> </div> </div> </footer> </div> <div class="md-dialog" data-md-component="dialog"> <div class="md-dialog__inner md-typeset"></div> </div> </body> </html>