summaryrefslogtreecommitdiff
path: root/bin/pgp-get-keyid-by-uid
blob: 1dea99f90e3aeae6e41f283087151b48ef3ba2a1 (plain)
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"]