All Projects → dryruby → Openpgp.rb

dryruby / Openpgp.rb

Licence: unlicense
[Retired] OpenPGP.rb is a pure-Ruby implementation of the OpenPGP Message Format (RFC 4880).

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to Openpgp.rb

php.rb
[Retired] PHP.rb translates Ruby code into PHP code.
Stars: ✭ 86 (-25.22%)
Mutual labels:  rubygems, obsolete, unmaintained
bitcache
[Retired] Distributed, content-addressable storage system.
Stars: ✭ 30 (-73.91%)
Mutual labels:  rubygems, obsolete, unmaintained
crm114.rb
[Retired] Ruby interface to the CRM114 Controllable Regex Mutilator.
Stars: ✭ 29 (-74.78%)
Mutual labels:  rubygems, obsolete, unmaintained
Cudlr
⛔️ [DEPRECATED] Console for Unity Debugging and Logging Remotely
Stars: ✭ 167 (+45.22%)
Mutual labels:  unmaintained, obsolete
Jquery Jsonrpc
[Unmaintained] JSON-RPC 2.0 client for jQuery.
Stars: ✭ 174 (+51.3%)
Mutual labels:  unmaintained, obsolete
Deprecated Mapbox Ios Sdk
REPLACED – use https://www.mapbox.com/ios-sdk instead
Stars: ✭ 325 (+182.61%)
Mutual labels:  unmaintained, obsolete
Codeigniter Schema
⛔️DEPRECATED Expressive table definitions
Stars: ✭ 87 (-24.35%)
Mutual labels:  obsolete
Closure Linter
Automatically exported from code.google.com/p/closure-linter
Stars: ✭ 104 (-9.57%)
Mutual labels:  obsolete
Rails or
Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
Stars: ✭ 86 (-25.22%)
Mutual labels:  rubygems
Bestgems.org
Gem ranking and downloads trends providing service.
Stars: ✭ 84 (-26.96%)
Mutual labels:  rubygems
Codeigniter Base Controller
⛔️DEPRECATED CodeIgniter base controller with view autoloading and layout support
Stars: ✭ 115 (+0%)
Mutual labels:  obsolete
Tgcameraviewcontroller
Custom camera with AVFoundation. Beautiful, light and easy to integrate with iOS projects.
Stars: ✭ 1,432 (+1145.22%)
Mutual labels:  unmaintained
Splendidbacon
Project Management for hackers
Stars: ✭ 102 (-11.3%)
Mutual labels:  unmaintained
Julian
⛔️DEPRECATED Brilliantly clever PHP calendar class
Stars: ✭ 89 (-22.61%)
Mutual labels:  obsolete
Touch Dnd
Advanced touch-compatible Drag and Drop library providing Draggable, Droppable and Sortable for Zepto.js and jQuery
Stars: ✭ 104 (-9.57%)
Mutual labels:  unmaintained
Dependency spy
Find known vulnerabilities in your dependencies
Stars: ✭ 87 (-24.35%)
Mutual labels:  rubygems
Ticons Cli
Command-Line version of TiCons for generating icons and splash screens for Titanium & Alloy projects.
Stars: ✭ 109 (-5.22%)
Mutual labels:  unmaintained
Eclemma
⚠️ OLD EclEmma repository, new is located at https://github.com/eclipse/eclemma
Stars: ✭ 84 (-26.96%)
Mutual labels:  obsolete
Baobab
DEPRECATED - The application that powers Gandi's Status website (status.gandi.net).
Stars: ✭ 99 (-13.91%)
Mutual labels:  obsolete
Tor.rb
Tor.rb is a Ruby library for interacting with the Tor anonymity network.
Stars: ✭ 108 (-6.09%)
Mutual labels:  rubygems

OpenPGP.rb: OpenPGP for Ruby

This is a pure-Ruby implementation of the OpenPGP Message Format (RFC 4880).

About OpenPGP

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.

Features

  • Encodes and decodes ASCII-armored OpenPGP messages.
  • Parses OpenPGP messages into their constituent packets.
    • Supports both old-format (PGP 2.6.x) and new-format (RFC 4880) packets.
  • Includes a GnuPG wrapper for features that are not natively supported.

Examples

require 'rubygems'
require 'openpgp'

Decoding an ASCII-armored message

require 'open-uri'
text = open('http://openpgp.rubyforge.org/pgp.txt').read

msg = OpenPGP::Message.parse(OpenPGP.dearmor(text))

Generating a new keypair

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         => '[email protected]',
  :passphrase    => 'secret passphrase',
})

Documentation

Dependencies

  • Ruby (>= 1.8.7) or (>= 1.8.1 with [Backports][])
  • Open4 (>= 1.0.1)

Installation

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+

Download

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

Resources

Authors

Contributors

Contributing

  • Do your best to adhere to the existing coding conventions and idioms.
  • Don't use hard tabs, and don't leave trailing whitespace on any line.
  • Do document every method you add using YARD annotations. Read the tutorial or just look at the existing code for examples.
  • Don't touch the .gemspec or VERSION files. If you need to change them, do so on your private branch only.
  • Do feel free to add yourself to the CONTRIBUTORS file and the corresponding list in the the README. Alphabetical order applies.
  • Don't touch the AUTHORS file. If your contributions are significant enough, be assured we will eventually add you in there.
  • Do note that in order for us to merge any non-trivial changes (as a rule of thumb, additions larger than about 15 lines of code), we need an explicit public domain dedication on record from you.

License

OpenPGP.rb is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].