# -*-shell-script-*- # This should be sourced by bash (though we welcome changes to make it POSIX sh compliant) # Monkeysphere keys-for-userid subcommand # # The monkeysphere scripts are written by: # Jameson Rollins # Jamie McClelland # Daniel Kahn Gillmor # # They are Copyright 2010, and are all released under the GPL, version # 3 or later. keys_for_userid() { local tmpFile=$(msmktempfile) trap "rm -f $tmpFile" EXIT FILE_TYPE='raw' process_keys_for_file "$tmpFile" "$@" cat "$tmpFile" rm -f "$tmpFile" trap - EXIT }