Scroll to navigation

LIBRNP(3) LIBRNP user manual LIBRNP(3)

NAME

LIBRNP - OpenPGP implementation, available via FFI interface.

SYNOPSIS

#include <rnp/rnp.h>

#include <rnp/rnp_err.h>

DESCRIPTION

librnp is part of RNP suite and base for rnp and rnpkeys utilities. It provides FFI interface to the functions required for OpenPGP protocol implementation.

Interface to the library is exposed via <rnp/rnp.h> and <rnp/rnp_err.h> headers. See the headers for the full function list and detailed documentation. Also you’ll need to link to librnp.

EXAMPLES

There is a bunch of examples in src/examples folder of the RNP suite source tree.

This example show how to generate OpenPGP keypair, using the JSON key description and may be used to generate any custom key types, supported by the RNP suite.
This example shows how to make OpenPGP-encrypted messages. Message is encrypted with keys, generated via ./generate, and with hardcoded password.
This example shows how to decrypt OpenPGP messages. It needs ./encrypt to be run first, producing the sample encrypted message.
This example shows how to sign messages. It needs ./generate to be run first to generate and write out secret keys.
This example shows how to verify signed messages, taking as example message produced by ./sign.

AUTHORS

BUGS

May be reported via the RNP GitHub repository: https://www.github.com/rnpgp/rnp

Please note that it is a public repository, so security issues must be reported in other way.

SEE ALSO

rnp(1), rnpkeys(1)

Jan, 21 2021 version 0.14.0