diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 15:56:55 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-06-15 15:56:55 -0400 |
commit | 6a91ec075c8a89559c0957c096a99b96b4a58ca1 (patch) | |
tree | aa77e38ea24b2f043f86c24af5403c8fe6bf78d7 /bin/pgp-list-keyids | |
parent | a99143e86220f93afb6ba93c6ac7b4ef65dc2920 (diff) |
common.rb#load_all_users: return a map of uid=>info, instead of an array of infos
Diffstat (limited to 'bin/pgp-list-keyids')
-rwxr-xr-x | bin/pgp-list-keyids | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pgp-list-keyids b/bin/pgp-list-keyids index f6b71fe..9682b1a 100755 --- a/bin/pgp-list-keyids +++ b/bin/pgp-list-keyids @@ -3,7 +3,7 @@ load "#{File.dirname(__FILE__)}/common.rb" -load_all_users.each do |user| +load_all_users.each do |uid,user| if user["groups"] if user["groups"].include?("keyring-trusted") puts "trusted/#{user["username"]} #{user["pgp_keyid"]}" |