Class: S3Repo::Signer
Overview
Signer object, signs files w/ GPG
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from S3Repo::Base
Instance Method Details
#sign(path) ⇒ Object
5 6 7 8 9 |
# File 'lib/s3repo/signer.rb', line 5 def sign(path) sig_path = "#{path}.sig" run "gpg --detach-sign --local-user '#{key}' #{path}" sig_path end |