Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
158 lines (122 sloc) 2.89 KB
Content-type: text/html
<HTML><HEAD><TITLE>Manpage of wmsigner</TITLE>
</HEAD><BODY>
<H1>wmsigner</H1>
Section: TOOLS (1)<BR>Updated: July 23, 2007<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
wmsigner module - tool for Webmoney signing data.
<A NAME="lbAC">&nbsp;</A>
<H2>DESCRIPTION</H2>
Required key file length 164 bytes (recently extension
<B>*.kwm</B>
) or base64-encoded key string. In order to run wmsigner when working with keys, generated by WM Keeper Classic v.2.4.0.1 and higher please use BACKUP keys copy and a password to the given BACKUP copy.
<DL COMPACT>
<DT>wmsigner.ini format:<DD>
<PRE>
WMID
password
/path/to/key.kwm
</PRE>
<DT>Example:<DD>
<PRE>
123456789012
my_Secure-password
/home/user/sign/backup_key.kwm
</PRE>
</DL>
<P>
<A NAME="lbAD">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-p --password</B>
<DD>
Password for key_file
<DT><B>-w --wmid</B>
<DD>
123456789012 : WMID (12 digits)
<DT><B>-s --sign</B>
<DD>
string_to_signification : signing specified string
<DT><B>-i --ini-path</B>
<DD>
Correct path to ini_file with ini_file_name *.ini
<DT><B>-k --key-path</B>
<DD>
Correct path to key_file with key_file_name
<DT><B>-K64 --key-base64</B>
<DD>
Text string in Base64 code, contain the key for wmsigner
<DT><B>-h --help</B>
<DD>
Help (this srceen)
<DT><B>-v --version</B>
<DD>
Version of program
</DL>
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>ERRORS</H2>
<DL COMPACT>
<DT><B>!LoadKeys Error 2</B>
<DD>
Do not load key file.
<DT><B>Error -3</B>
<DD>
Password not right. May be you use password for basic key file (not BACKUP copy)?
<DT><B>Error -4</B>
<DD>
WMID not defined.
<DT><B>Error -5</B>
<DD>
Password not defined.
<DT><B>Error -6</B>
<DD>
Key-file (or key-string) not defined.
<DT><B>Error 20</B>
<DD>
Do not load config file wmsigner.ini.
<DT><B>Segmentation fault.</B>
<DD>
wmsigner binary was compiled on another system or other system error.
</DL>
<P>
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
<DL COMPACT>
<DT>Testing:<DD>
<P>
<B>echo</B>
-ne &quot;TestString123\004\r\n&quot; |
<B>./wmsigner</B>
<DT>Without wmsigner.ini:<DD>
<P>
<B>echo </B>
-ne &quot;TestString123\004\r\n&quot; |
<B>./wmsigner -w 123456789012 -k ./key.kwm -p '%pa$$w00rd'</B>
<P>
<B>./wmsigner -w 123456789012 -k ./key.kwm -p '%pa$$w00rd' -s 'TestString123'</B>
<P>
</DL>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Alexander Oryol (eagle.alex (at) gmail.com)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">DESCRIPTION</A><DD>
<DT><A HREF="#lbAD">OPTIONS</A><DD>
<DT><A HREF="#lbAE">ERRORS</A><DD>
<DT><A HREF="#lbAF">EXAMPLES</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 11:00:40 GMT, July 23, 2007
</BODY>
</HTML>