1 .\" This program is free software; you can redistribute it and/or modify
2 .\" it under the terms of the GNU General Public License as published by
3 .\" the Free Software Foundation; either version 2 of the License, or
4 .\" (at your option) any later version.
6 .\" This program is distributed in the hope that it will be useful,
7 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
8 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 .\" GNU General Public License for more details.
11 .\" You should have received a copy of the GNU General Public License
12 .\" along with this program; if not, write to the Free Software
13 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15 \\$2 \(laURL: \\$1 \(ra\\$3
17 .if \n[.g] .mso www.tmac
18 .TH PWMD 1 "12 Jul 2007" "Password Manager Client" "Password Manager Client"
21 pwmc \- send commands to pwmd
24 [\-hv] [\-E] [\-s <socket>] [\-a [-P <pinentry_path>] [-t <seconds>] | \-p <password>] [\-S] [filename]
30 client for \fBpwmd\fR. Commands are read line-by-line from stdin until an EOF
31 occurs. Element values that contain newline or tab characters should be base64
34 utility can do this and can also make the base64 encoded string on one line
35 with the 'base64 -A' switch.
40 Exit after a command failure.
43 Connect to the specified socket. The default is \fB~/.pwmd/socket\fR.
48 for password retrieval.
53 program. \fBlibpwmd\fP defaults to \fI/usr/bin/pinentry\fP.
56 When opening a file and a password is required,
58 will timeout after the specified amount of seconds. When saving a file and a
59 password is required, no timeout will be used even if specified.
62 Use the specified password.
65 Send the SAVE command after EOF.
74 To list the available accounts and use
78 echo list | pwmc -a filename
81 To store an element path and save the file afterwards:
83 echo -e 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename
86 Clear the file cache for a single file:
88 echo 'clearcache filename' | pwmc
91 Multiple commands in one instance:
93 echo -e 'get isp\\tsmtp\\thostname\\nget isp\\tusername' | pwmc filename
99 Default socket to connect to.
102 Default location of the pinentry binary.
106 Ben Kibbey <bjk@luxsci.net>
108 .URL "http://bjk.sourceforge.net/pwmd/" "PWMD Homepage" .