diff options
Diffstat (limited to 'bin/pgp-list-keyids')
-rwxr-xr-x | bin/pgp-list-keyids | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/pgp-list-keyids b/bin/pgp-list-keyids deleted file mode 100755 index 9682b1a..0000000 --- a/bin/pgp-list-keyids +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env ruby -# Usage: pgp-list-keyids - -load "#{File.dirname(__FILE__)}/common.rb" - -load_all_users.each do |uid,user| - if user["groups"] - if user["groups"].include?("keyring-trusted") - puts "trusted/#{user["username"]} #{user["pgp_keyid"]}" - elsif user["groups"].include?("keyring-secondary") - puts "secondary/#{user["username"]} #{user["pgp_keyid"]}" - elsif user["pgp_keyid"] - #puts "revoked/#{user["username"]} #{user["pgp_keyid"]}" - end - end - if user["pgp_revoked_keyids"] - user["pgp_revoked_keyids"].each do |keyid| - puts "revoked/#{user["username"]} #{keyid}" - end - end -end |