Ruby RNP bindings


Build Status Code Coverage

The rnp gem provides Ruby bindings to the librnp OpenPGP library.

Documentation is available on RubyDoc.

Requirements

This gem currently requires librnp 0.15.2 or newer.

Note
librnp 0.18.1 or newer is strongly recommended: librnp 0.18.0 is affected by CVE-2025-13470, where PKESK session keys were generated without cryptographically random values (older releases are not affected).

Installation

Add this line to your application’s Gemfile:

gem 'rnp'
bundle

Or install it yourself as:

gem install rnp