
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
This is a pure-Ruby implementation of the OpenPGP Message Format (RFC 4880).
OpenPGP is the most widely-used e-mail encryption standard in the world. It is defined by the OpenPGP Working Group of the Internet Engineering Task Force (IETF) Proposed Standard RFC 4880. The OpenPGP standard was originally derived from PGP (Pretty Good Privacy), first created by Phil Zimmermann in 1991.
require 'rubygems'
require 'openpgp'
require 'open-uri'
text = open('http://openpgp.rubyforge.org/pgp.txt').read
msg = OpenPGP::Message.parse(OpenPGP.dearmor(text))
gpg = OpenPGP::Engine::GnuPG.new(:homedir => '~/.gnupg')
key_id = gpg.gen_key({
:key_type => 'DSA',
:key_length => 1024,
:subkey_type => 'ELG-E',
:subkey_length => 1024,
:name => 'J. Random Hacker',
:comment => nil,
:email => 'jhacker@example.org',
:passphrase => 'secret passphrase',
})
The recommended installation method is via RubyGems. To install the latest official release of OpenPGP.rb, do:
% [sudo] gem install openpgp # Ruby 1.8.7+ or 1.9.x
% [sudo] gem install backports openpgp # Ruby 1.8.1+
To get a local working copy of the development repository, do:
% git clone git://github.com/bendiken/openpgp.git
Alternatively, you can download the latest development version as a tarball as follows:
% wget http://github.com/bendiken/openpgp/tarball/master
.gemspec
or VERSION
files. If you need to change them,
do so on your private branch only.CONTRIBUTORS
file and the
corresponding list in the the README
. Alphabetical order applies.AUTHORS
file. If your contributions are significant
enough, be assured we will eventually add you in there.OpenPGP.rb is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.
FAQs
Unknown package
We found that openpgp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.