RNP’s Ruby bindings overview


Build Status Code Coverage

The rnp gem provides Ruby bindings to the RNP OpenPGP library and requires RNP 0.15.2 or newer.

Note
RNP 0.18.1 or newer is strongly recommended: RNP 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