1 2 3 4 5
#!/usr/bin/env ruby # Usage: pgp-get-keyid-by-uid {uid} require 'yaml' puts YAML::load(open("users/#{ARGV[0]}.yml"))["pgp_keyid"]