summaryrefslogtreecommitdiff
path: root/bin/pgp-get-keyid-by-uid
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-09-06 00:39:14 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-09-06 00:39:14 -0400
commitac4dcb64a8f6c07dfe50e9005dc4246f21ebf84e (patch)
tree8d9144bf1ab4c881f076ae2b7927516d764d89e0 /bin/pgp-get-keyid-by-uid
parent4b70501e432eb5fd9ed04a4afbadafabd982e9fc (diff)
Split hackers.yml into users/#{uid}.yml
Diffstat (limited to 'bin/pgp-get-keyid-by-uid')
-rwxr-xr-xbin/pgp-get-keyid-by-uid5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/pgp-get-keyid-by-uid b/bin/pgp-get-keyid-by-uid
new file mode 100755
index 0000000..1dea99f
--- /dev/null
+++ b/bin/pgp-get-keyid-by-uid
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+# Usage: pgp-get-keyid-by-uid {uid}
+
+require 'yaml'
+puts YAML::load(open("users/#{ARGV[0]}.yml"))["pgp_keyid"]