CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: wiz Date: Mon Jun 8 08:02:32 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: netpgpverify.1 Log Message: Sort options, fix a typo. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1 diff -u src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1:1.1 src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1:1.2 --- src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1:1.1 Mon Jun 8 06:15:51 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/netpgpverify.1 Mon Jun 8 08:02:32 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: netpgpverify.1,v 1.1 2009/06/08 06:15:51 agc Exp $ +.\ $NetBSD: netpgpverify.1,v 1.2 2009/06/08 08:02:32 wiz Exp $ .\ .\ Copyright (c) 2009 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -65,6 +65,19 @@ .Pp The following commands are used to sign and verify signatures: .Bl -tag -width Ar +.It Fl Fl coredumps +In normal processing, +if an error occurs, the contents of memory are saved to disk, and can +be read using tools to analyse behaviour. +Unfortunately this can disclose information to people viewing +the core dump, such as secret keys, and passphrases protecting +those keys. +In normal operation, +.Nm +will turn off the ability to save core dumps on persistent storage, +but selecting this option will allow core dumps to be written to disk. +This option should be used wisely, and any core dumps should +be deleted in a secure manner when no longer needed. .It Fl Fl homedir Ar home-directory Keyrings are normally located, for historical reasons, within the user's home directory in a subdirectory called @@ -86,19 +99,6 @@ the process of the .Nm requests. -.It Fl Fl coredumps -in normal processing, -if an error occurs, the contents of memory are saved to disk, and can -be read using tools to analyse behaviour. -Unfortuinately this can disclose information to people viewing -the core dump, such as secret keys, and passphrases protecting -those keys. -In normal operation, -.Nm -will turn off the ability to save core dumps on persistent storage, -but selecting this option will allow core dumps to be written to disk. -This option should be used wisely, and any core dumps should -be deleted in a secure manner when no longer needed. .El .Sh SIGNING AND VERIFICATION Signing and verification of a file is best viewed using the following example:
CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: wiz Date: Sat May 2 09:40:33 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: netpgp.1 Log Message: Punctuation. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 diff -u src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.5 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.6 --- src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.5 Sat May 2 02:43:15 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Sat May 2 09:40:33 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: netpgp.1,v 1.5 2009/05/02 02:43:15 agc Exp $ +.\ $NetBSD: netpgp.1,v 1.6 2009/05/02 09:40:33 wiz Exp $ .\ .\ Copyright (c) 2009 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -271,9 +271,9 @@ command first appeared in .Nx 6.0 . .Sh AUTHORS -.An Ben Laurie -.An Rachel Willmer +.An Ben Laurie , +.An Rachel Willmer , and overhauled and rewritten by -.An Alistair Crooks +.An Alistair Crooks . This manual page was also written by -.An Alistair Crooks +.An Alistair Crooks .
CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: agc Date: Sat May 2 02:43:16 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: netpgp.1 Log Message: Give credit where credit is due. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 diff -u src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.4 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.5 --- src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.4 Sat May 2 02:38:54 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Sat May 2 02:43:15 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: netpgp.1,v 1.4 2009/05/02 02:38:54 agc Exp $ +.\ $NetBSD: netpgp.1,v 1.5 2009/05/02 02:43:15 agc Exp $ .\ .\ Copyright (c) 2009 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -273,3 +273,7 @@ .Sh AUTHORS .An Ben Laurie .An Rachel Willmer +and overhauled and rewritten by +.An Alistair Crooks +This manual page was also written by +.An Alistair Crooks
CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: wiz Date: Tue Apr 28 07:56:19 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: netpgp.1 Log Message: Fix xrefs, comment out the one to libbz2 (no man page exists for that). To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 diff -u src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.1.1.1 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.2 --- src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.1.1.1 Thu Apr 23 06:32:02 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Tue Apr 28 07:56:19 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: netpgp.1,v 1.1.1.1 2009/04/23 06:32:02 agc Exp $ +.\ $NetBSD: netpgp.1,v 1.2 2009/04/28 07:56:19 wiz Exp $ .\ .\ Copyright (c) 2009 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -134,7 +134,7 @@ is verified, checking the contents against the user's public signature. .It Fl -version Print the version information from the -.Xr libnetpgpsdk 3 +.Xr libnetpgp 3 library. .El .Pp @@ -253,10 +253,10 @@ or 2 if any other error occurs. .Sh SEE ALSO .Xr getpass 3 , -.Xr libbz2 3 , +.\ .Xr libbz2 3 , .Xr libnetpgp 3 , -.Xr libz 3 , -.Xr ssl 3 +.Xr ssl 3 , +.Xr zlib 3 .Sh STANDARDS The .Nm
CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: wiz Date: Tue Apr 28 09:19:15 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: netpgp.1 Log Message: Use Fl Fl for long flags. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 diff -u src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.2 src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.3 --- src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1:1.2 Tue Apr 28 07:56:19 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/netpgp.1 Tue Apr 28 09:19:15 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: netpgp.1,v 1.2 2009/04/28 07:56:19 wiz Exp $ +.\ $NetBSD: netpgp.1,v 1.3 2009/04/28 09:19:15 wiz Exp $ .\ .\ Copyright (c) 2009 The NetBSD Foundation, Inc. .\ All rights reserved. @@ -35,22 +35,22 @@ .Nd signing, verification, encryption, and decryption utility .Sh SYNOPSIS .Nm netpgp -.Op Fl -armour -.Op Fl -clearsign -.Op Fl -decrypt -.Op Fl -encrypt -.Op Fl -export-key -.Op Fl -find-key -.Op Fl -generate-key -.Op Fl -homedir Ns = Ns Ar home-directory -.Op Fl -import-key -.Op Fl -keyring Ns = Ns Ar keyring -.Op Fl -list-keys -.Op Fl -numbits Ns = Ns Ar numbits -.Op Fl -sign -.Op Fl -userid Ns = Ns Ar userid -.Op Fl -verify -.Op Fl -version +.Op Fl Fl armour +.Op Fl Fl clearsign +.Op Fl Fl decrypt +.Op Fl Fl encrypt +.Op Fl Fl export-key +.Op Fl Fl find-key +.Op Fl Fl generate-key +.Op Fl Fl homedir Ns = Ns Ar home-directory +.Op Fl Fl import-key +.Op Fl Fl keyring Ns = Ns Ar keyring +.Op Fl Fl list-keys +.Op Fl Fl numbits Ns = Ns Ar numbits +.Op Fl Fl sign +.Op Fl Fl userid Ns = Ns Ar userid +.Op Fl Fl verify +.Op Fl Fl version .Ar file ... .Sh DESCRIPTION The @@ -83,38 +83,38 @@ .Pp One of the following commands must be present: .Bl -tag -width Ar -.It Fl -clearsign +.It Fl Fl clearsign The signature of the file named on the command line is calculated in the same manner as the -.Fl -sign +.Fl Fl sign command, but the text is added to the file such that the text itself is not in binary format, but can be read by mere mortals. -.It Fl -decrypt +.It Fl Fl decrypt Decrypt the file using the user's private key. The pass phrase will be optained by prompting the user to type it in, using .Xr getpass 3 . -.It Fl -encrypt +.It Fl Fl encrypt Use the user's public key to encrypt the files named on the command line. -.It Fl -export-key +.It Fl Fl export-key Display the current public key in a format suitable for export. This can be used to place the keyring on one of the public key servers, for example. -.It Fl -find-key +.It Fl Fl find-key Find the appropriate public key from the current keyring. If no keyring is provided, the user's public keyring is used. -.It Fl -generate-key +.It Fl Fl generate-key This command is used to generate a new public and private key pair. The user id is taken from the command line, and the user will be prompted to provide a suitable pass phrase. -.It Fl -import-key +.It Fl Fl import-key Import a public key as retrieved from one of the public key servers. This is in the form of a file which has previously been retrieved from elsewhere. -.It Fl -list-keys +.It Fl Fl list-keys List all the public keys in the current keyring. If no keyring is provided, the user's public keyring is used. -.It Fl -sign +.It Fl Fl sign The private key is used to digitally sign the files named on the command line. Extra text is added to the file. @@ -129,10 +129,10 @@ extension to the original file name. The user will be prompted for their pass phrase using .Xr getpass 3 . -.It Fl -verify +.It Fl Fl verify For each of the files named on the command line, the signature of the file is verified, checking the contents against the user's public signature. -.It Fl -version +.It Fl Fl version Print the version information from the .Xr libnetpgp 3 library. @@ -141,19 +141,19 @@ In addition to one of the preceding commands, a number of qualifiers or options may be given. .Bl -tag -width Ar -.It Fl -armour , -armor +.It Fl Fl armour , Fl armor This option, however it is spelled, wraps the signature as an ASCII-encoded piece of text, for ease of use. -.It Fl -homedir Ar home-directory +.It Fl Fl homedir Ar home-directory Keyrings are normally located, for historical reasons, within the user's home directory in a subdirectory called .Dq Pa .gnupg and this option specifies an alternative location in which to find that sub-directory. -.It Fl -keyring Ar keyring +.It Fl Fl keyring Ar keyring This option specifies an alternative keyring to be used. All keyring operations will be relative to this alternative keyring. -.It Fl -numbits Ar numbits +.It Fl Fl numbits Ar numbits specifies the number of bits to be used when generating a key. The default number
CVS commit: src/crypto/external/bsd/netpgp/dist/src/bin
Module Name:src Committed By: agc Date: Tue Apr 28 20:51:16 UTC 2009 Modified Files: src/crypto/external/bsd/netpgp/dist/src/bin: Makefile.in Log Message: Sync the portable autoconfed Makefile with reality To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in diff -u src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in:1.1.1.1 src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in:1.2 --- src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in:1.1.1.1 Thu Apr 23 06:32:02 2009 +++ src/crypto/external/bsd/netpgp/dist/src/bin/Makefile.in Tue Apr 28 20:51:16 2009 @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 1.1.1.1 2009/04/23 06:32:02 agc Exp $ +# $Id: Makefile.in,v 1.2 2009/04/28 20:51:16 agc Exp $ @SET_MAKE@ SHELL = @SHELL@ @@ -48,7 +48,7 @@ SRCS+= netpgp.c -LIBS= -L${prefix}/lib -L../lib -lnetpgpsdk +LIBS= -L${prefix}/lib -L../lib -lnetpgp DISTFILES= $(SRCS) AUTHORS COPYING DESCR INSTALL Makefile.in NEWS aclocal.m4 \ config.guess config.h.in config.sub configure configure.ac install-sh \ @@ -76,10 +76,10 @@ rm -f configure config.h.in install: netpgp - $(mkinstalldirs) $(DESTDIR)$(bindir) + $(mkinstalldirs) $(DESTDIR)$(bindir) ${DESTDIR}${mandir}/man1 @f=`echo netpgp|sed '$(transform)'`; \ echo $(INSTALL_PROGRAM) netpgp $(DESTDIR)$(bindir)/$$f; \ - $(INSTALL_PROGRAM) netpgp $(DESTDIR)$(bindir)/$$f + ${LIBTOOL} --mode=install $(INSTALL_PROGRAM) netpgp $(DESTDIR)$(bindir)/$$f $(mkinstalldirs) $(DESTDIR)$(mandir)/man1 @f=`echo netpgp.1|sed '$(transform)'`; \ echo $(INSTALL_DATA) netpgp.1 $(DESTDIR)$(mandir)/man1/$$f; \