File: verify.rb

package info (click to toggle)
libgpgme-ruby 1.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 280 kB
  • ctags: 377
  • sloc: ansic: 2,186; ruby: 1,344; makefile: 143
file content (6 lines) | stat: -rwxr-xr-x 118 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/usr/bin/env ruby
require 'gpgme'

GPGME::verify(ARGF.read, nil, $stdout) do |signature|
  puts(signature.to_s)
end