bin/check-all-gpg-keys-for-expiry.rb
def fetch_all_gpg_keys
    args = ['--with-colons', '--fixed-list-mode', '--lock-never', key_type_option]
    gpg_cmd = [config[:gpg] + " --homedir #{config[:home_directory]}"] + args

    _cmd_out, _cmd_err, _status = Open3.capture3 gpg_cmd.join(' ')
  end
# Return all GPG keys' details by executing the GPG command
Return all GPG keys' details by executing the GPG command
Return all GPG keys ' details by executing the GPG command
def fetch_all_gpg_keys
    args = ['--with-colons', '--fixed-list-mode', '--lock-never', key_type_option]
    gpg_cmd = [config[:gpg] + " --homedir #{config[:home_directory]}"] + args
    _cmd_out, _cmd_err, _status = Open3.capture3 gpg_cmd.join(' ')
  end
def fetch_all_gpg_keys args = [ '--with-colons' , '--fixed-list-mode' , '--lock-never' , key_type_option ] gpg_cmd = [ config [ :gpg ] + " --homedir #{config[:home_directory]}" ] + args _cmd_out , _cmd_err , _status = Open3 . capture3 gpg_cmd . join ( ' ' ) end
Return all GPG keys' details by executing the GPG command
Return all GPG keys ' details by executing the GPG command