From: cvs@openprivacy.orgCVS update: openprivacy/src/python
Date: Friday February 9, 19101 @ 1:57
Author: fen
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/python
-----------------------------------
Update of /usr/local/cvs/public/openprivacy/src/python
In directory giga:/home/fen/projects/openprivacy/src/python
Modified Files:
gnupg.pl
Log Message:
a bit more of a spec - are all interesting cases included in mainloop?
*****************************************************************
File: openprivacy/src/python/gnupg.pl
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/python/gnupg.pl?annotate=1.2
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/python/gnupg.pl?rev=1.2&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/python/gnupg.pl.diff?r1=1.2&r2=1.1
-----------------------------------
Index: openprivacy/src/python/gnupg.pl
diff -u openprivacy/src/python/gnupg.pl:1.1 openprivacy/src/python/gnupg.pl:1.2
--- openprivacy/src/python/gnupg.pl:1.1 Fri Feb 9 01:46:22 2001
+++ openprivacy/src/python/gnupg.pl Fri Feb 9 01:57:26 2001
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id: gnupg.pl,v 1.1 2001/02/09 09:46:22 fen Exp $
+# $Id: gnupg.pl,v 1.2 2001/02/09 09:57:26 fen Exp $
# pull in persistent hash code
use MLDBM qw (DB_File);
@@ -18,7 +18,7 @@
&initDB();
&initGPG();
-&mainloop();
+&mainloop(); # much more to do here
exit(0);
@@ -58,3 +58,12 @@
$nyms{$k} = \@keys;
}
+sub mainloop {
+ # get request from keyboard -> perform action
+ # l -> list keys
+ # n -> prompt for name of (to be created) new n
+ # s <name> <file> -> sign file with new j created by n = <name>
+ # j <file> -> return handle of j that signed file
+ # <j> file -> sign file with <j>
+ # = <file> -> stats of <file>: n (if known), j, date signed
+}
This archive was generated by hypermail 2b30 : Fri Feb 09 2001 - 01:57:27 PST