Module Name:    othersrc
Committed By:   agc
Date:           Mon Mar 21 07:15:33 UTC 2011

Modified Files:
        othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey: sharedkey.1

Log Message:
update names and locations to reflect current use.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1
diff -u othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1:1.1.1.1 othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1:1.2
--- othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1:1.1.1.1	Mon Mar 21 07:10:42 2011
+++ othersrc/crypto/external/bsd/sharedkey/dist/src/sharedkey/sharedkey.1	Mon Mar 21 07:15:33 2011
@@ -1,6 +1,6 @@
-.\" $NetBSD: sharedkey.1,v 1.1.1.1 2011/03/21 07:10:42 agc Exp $
+.\" $NetBSD: sharedkey.1,v 1.2 2011/03/21 07:15:33 agc Exp $
 .\"
-.\" Copyright (c) 2010 Alistair Crooks <[email protected]>
+.\" Copyright (c) 2010,2011 Alistair Crooks <[email protected]>
 .\" All rights reserved.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
@@ -23,11 +23,11 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 13, 2010
-.Dt OTK 1
+.Dd March 20, 2011
+.Dt SHAREDKEY 1
 .Os
 .Sh NAME
-.Nm otk
+.Nm sharedkey
 .Nd secret-sharing and recovery utility using one-time RSA keys
 .Sh SYNOPSIS
 .Nm
@@ -61,13 +61,12 @@
 .Nm
 command is used to recover a secret
 which has been shared using
-.Xr otk 1 ,
-using a one-time RSA key generated by
-.Xr netpgpkeys 1 ,
-encrypted using
-.Xr netpgp 1 ,
+.Nm
+using a one-time RSA key generated and
+encrypted by
+.Xr libnetpgp 3 ,
 and then split into shares using
-.Xr threshold 1 .
+.Xr libssss 3 .
 Only the
 .Dv threshold
 number of shares is needed to recover the secret,
@@ -137,21 +136,21 @@
 .Pa /etc/group
 into 3 separate shares, of which 2 are needed to reconstruct the original file.
 .Bd -literal
-% otk -t 2/3 /etc/group
+% sharedkey -t 2/3 /etc/group
 Generating a one-time key
 signature  2048/RSA (Encrypt or Sign) db2d87129df8ca38 2010-11-23 
 Key fingerprint: c632 7068 8809 2dad 15f3 f84b db2d 8712 9df8 ca38 
 uid              /etc/group shared 2/3 by agc Mon Nov 22 16:46:27 PST 2010
 Enter passphrase for db2d87129df8ca38: 
 Repeat passphrase for db2d87129df8ca38: 
-Shared secrets are in: /tmp/otk.008847aa
-% ls -l /tmp/otk.008847aa
+Shared secrets are in: /tmp/share.008847aa
+% ls -l /tmp/share.008847aa
 total 14
 -rw-r--r--  1 agc  wheel   621 Nov 22 16:46 pubring.gpg
 -rw-r--r--  1 agc  wheel  2947 Nov 22 16:46 share000.tar.gz
 -rw-r--r--  1 agc  wheel  2948 Nov 22 16:46 share001.tar.gz
 -rw-r--r--  1 agc  wheel  2955 Nov 22 16:46 share002.tar.gz
-% tar tvzf /tmp/otk.008847aa/share000.tar.gz
+% tar tvzf /tmp/share.008847aa/share000.tar.gz
 drwxr-xr-x  2 agc      wheel          0 Nov 22 16:46 share000
 lrwxr-xr-x  1 agc      wheel          0 Nov 22 16:46 share000/keyid -> db2d87129df8ca38
 -rw-------  1 agc      wheel        625 Nov 22 16:46 share000/group.gpg
@@ -159,7 +158,7 @@
 -rw-r--r--  1 agc      wheel        621 Nov 22 16:46 share000/pubring.gpg
 -rw-r--r--  1 agc      wheel       1316 Nov 22 16:46 share000/secring.gpg.000
 tar: ustar vol 1, 6 files, 10240 bytes read, 0 bytes written in 1 secs (10240 bytes/sec)
-% netpgpkeys -l --homedir /tmp/otk.008847aa
+% netpgpkeys -l --homedir /tmp/share.008847aa
 1 key found
 signature  2048/RSA (Encrypt or Sign) db2d87129df8ca38 2010-11-23
 Key fingerprint: c632 7068 8809 2dad 15f3 f84b db2d 8712 9df8 ca38 
@@ -169,8 +168,8 @@
 .Pp
 Two of the shares can then be used to recover the secret in the following way:
 .Bd -literal
-% otk -r -o group.recover  /tmp/otk.008847aa/share000.tar.gz /tmp/otk.008847aa/share001.tar.gz
-Creating file /tmp/otkrecover.008981aa/db2d87129df8ca38/secring.gpg from files:
+% sharedkey -r -o group.recover  /tmp/share.008847aa/share000.tar.gz /tmp/share.008847aa/share001.tar.gz
+Creating file /tmp/recover.008981aa/db2d87129df8ca38/secring.gpg from files:
 signature  2048/RSA (Encrypt or Sign) db2d87129df8ca38 2010-11-23 
 Key fingerprint: c632 7068 8809 2dad 15f3 f84b db2d 8712 9df8 ca38 
 uid              /etc/group shared 2/3 by agc Mon Nov 22 16:46:27 PST 2010
@@ -190,7 +189,7 @@
 .Sh SEE ALSO
 .Xr tar 1 ,
 .Xr libnetpgp 3 ,
-.Xr libotk 3
+.Xr libssss 3
 .Sh HISTORY
 The
 .Nm

Reply via email to