Skip to content

seattlesuekim/sks-dump-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Parser for SKS Keydump

This gem parses the SKS Keydump into a hash which looks like this:

dump_hash = {
        hex_key_id => {
            :user => "Name, <email@email.com>",
            :sigs => ["hex_key_id1", "hex_key_id2",...]
                      }
            }

What You Need

  • gpg (brew install gpg)
  • in your Gemfile, gem 'sks_dump_parser

Download the keydump as specified at: http://www.keysigning.org/sks/ to get all the files. It will take a while. Be sure your directory contains only the pgp files.

require 'sks_parser'
dump_hash = SksParser.parse_dump('name_of_your_dir') # returns your useful hash.

Releases

No releases published

Packages

No packages published

Languages