Module: InfoStatusGopass
- Included in:
- Takeltau::InfoStatus
- Defined in:
- lib/takeltau/info/status/gopass.rb
Overview
tau info status gopass
Instance Method Summary collapse
-
#info_status_gopass ⇒ Boolean
Backend method for info status gopass.
Instance Method Details
#info_status_gopass ⇒ Boolean
Backend method for info status gopass.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/takeltau/info/status/gopass.rb', line 7 def info_status_gopass log.debug 'Check gopass status' root = _info_status_gopass_root_store if root.chomp.empty? log.error 'gopass root store not found' return false end key = _info_status_lib_git_signingkey(root) unless _info_status_lib_git_key_available(key).exitstatus.zero? log.error 'gopass root store gpg key is not available' return false end log.debug 'gopass is available' true end |