add share_keys

This commit is contained in:
nishiki 2014-02-02 17:34:05 +01:00
parent 076aedeb3c
commit bed8cbb8b6
4 changed files with 22 additions and 10 deletions
MPW/UI

View file

@ -117,7 +117,7 @@ class Cli
# Request the GPG password and decrypt the file
def decrypt
if !defined?(@mpw)
@mpw = MPW::MPW.new(@config.file_gpg, @config.key)
@mpw = MPW::MPW.new(@config.file_gpg, @config.key, @config.share_keys)
end
@passwd = ask(I18n.t('display.gpg_password')) {|q| q.echo = false}