This will create a password with **amngrgen** and use that to add an
credential via **amngradd**. (See there for options description)
The added password will be copied to the X clipboard with
The added password will be copied to the X clipboard with
**amngrgetpass** for further use.
**amngrcrypt** \[**-r** *recipient*\] *password*
Crypt the given plain text *password* with GnuPG and write it to
stdout.
The option **-r** specifies the recipient to use with the call to
The option **-r** specifies the recipient to use with the call to
**gpg**. If it is not given the value of the **$AMNGRID** environment
variable is used.
@ -224,62 +195,23 @@ List accounts where *pattern* exists in either the account name, the
username or the account description. The output is like the one
described with **amngrlist**.
OPTIONS
-------
## OPTIONS
The options are consistent over all sub commands. However not all sub
commands use all options and some sub commands take arguments that other
get per option. (See **DESCRIPTION**)
<table>
<colgroup>
<colwidth="25%"/>
<colwidth="25%"/>
<colwidth="25%"/>
<colwidth="25%"/>
</colgroup>
<tbody>
<trclass="odd">
<tdalign="left"></td>
<tdalign="left"><p><strong>-u</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>The login username of the credential for the account.</p></td>
</tr>
<trclass="even">
<tdalign="left"></td>
<tdalign="left"><p><strong>-p</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>The plain text password of the credential for the account.</p></td>
</tr>
<trclass="odd">
<tdalign="left"></td>
<tdalign="left"><p><strong>-d</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>The description for the account.</p></td>
</tr>
<trclass="even">
<tdalign="left"></td>
<tdalign="left"><p><strong>-D</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>Select the database file to use instead of the one defined in the <strong>$AMNGRDB</strong> environment variable.</p></td>
</tr>
<trclass="odd">
<tdalign="left"></td>
<tdalign="left"><p><strong>-r</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>Select a recipient id for GnuPG encryption to use instead of the one defined in the <strong>$AMNGRID</strong> environment variable.</p></td>
</tr>
<trclass="even">
<tdalign="left"></td>
<tdalign="left"><p><strong>-s</strong></p></td>
<tdalign="left"></td>
<tdalign="left"><p>The column separator for the <strong>amngrlist</strong> and <strong>amngrsearchcommands.</strong></p></td>
</tr>
</tbody>
</table>
ENVIRONMENT
-----------
- **-u** The login username of the credential for the account.
- **-p** The plain text password of the credential for the account.
- **-d** The description for the account.
- **-D** Select the database file to use instead of the one defined in the
**$AMNGRDB** environment variable.
- **-r** Select a recipient id for GnuPG encryption to use instead of the one
defined in the **$AMNGRID** environment variable.
- **-s** The column separator for the **amngrlist** and
**amngrsearchcommands**.
## ENVIRONMENT
**AMNGRDB**
@ -298,8 +230,7 @@ option.
The password length to be used when generating new passwords.
DEPENDENCIES
------------
## DEPENDENCIES
A set of POSIX compliant shell utilities including a POSIX compliant
shell as well are needed to run this script.
@ -313,150 +244,45 @@ The existence of a reliable non blocking random source. By default this
scripts use **$(cat /dev/urandom)** which can be changed by replacing
the alias **random** with something useful for your system.
For data storage **Sqlite >= 3.6.19** is required. The version
For data storage **Sqlite >= 3.6.19** is required. The version
requirement comes from the use of foreign key constraints.
To store the data within the X clipboard the **xclip** is needed.