Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/lib Add des...
details: https://anonhg.NetBSD.org/src/rev/fcf8bea9f633
branches: trunk
changeset: 318962:fcf8bea9f633
user: sevan <sevan%NetBSD.org@localhost>
date: Thu May 10 15:00:36 2018 +0000
description:
Add descriptions for
netpgp_match_keys()
netpgp_match_keys_json()
netpgp_match_pubkeys()
netpgp_validate_sigs()
netpgp_format_json()
diffstat:
crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3 | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r 9ba96e80718d -r fcf8bea9f633 crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3
--- a/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3 Thu May 10 14:06:59 2018 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/lib/libnetpgp.3 Thu May 10 15:00:36 2018 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: libnetpgp.3,v 1.26 2018/05/09 23:34:25 sevan Exp $
+.\" $NetBSD: libnetpgp.3,v 1.27 2018/05/10 15:00:36 sevan Exp $
.\"
.\" Copyright (c) 2009,2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -233,6 +233,17 @@
To list all the keys in a keyring as a JSON encoded string, the
.Fn netpgp_list_keys_json
function is used.
+To find and list keys in a keyring, the
+.Fn netpgp_match_keys
+function is used.
+To find and list keys in a keyring, output as a JSON encoded string,
+the
+.Fn netpgp_match_keys_json
+function is used.
+To find and list keys in a better suited machine-readble format, such as for
+redirection to other parsing engines, the
+.Fn netpgp_match_pubkeys
+function is used.
The signature subkey fields can also be displayed
using this function.
.Pp
@@ -246,6 +257,14 @@
is appended to the home directory in order to search for
the keyrings.
.Pp
+To print key information from a JSON encoded string, stored in a file, the
+.Fn netpgp_format_json
+function is used.
+.Pp
+To validate the signature of keys in a public key keyring, the
+.Fn netpgp_validate_sigs
+function is used.
+.Pp
To export a key, the
.Fn netpgp_export_key
function is used.
Home |
Main Index |
Thread Index |
Old Index