class GPGME::SubKey

Public Instance Methods

to_s() click to toggle source

Overwrite to specify the full fingerprint instead of the short key-ID.

# File lib/schleuder/gpgme/sub_key.rb, line 4
def to_s
  sprintf("%s   %4d%s/%s %s\n",
          secret? ? 'ssc' : 'sub',
          length,
          pubkey_algo_letter,
          fingerprint,
          timestamp.strftime('%Y-%m-%d'))
end