parameters: (opts=None, args=None)
return_statement: return decrypt_str(cphtxt, **decopts)
docstring: Decrypt ARGS.
  
      Options
      -------
      - '--keyfile': file with (private) decryption keys
      - '--passphrase': decryption passphrase (for private or symmetric key)
      - '--decompress': automatically decompress compressed output
      - '--deliteral': autmatical string-ify literal output
      - '--armor': armor the output
  
      If you're decrypting text, you'll probably want to use --decompress and
      --deliteral to output readable text. Otherwise, the output will remain
      encoded.
  
      Don't use --deliteral with --armor since the result of that combination
      remains undefined.
  
      ARGS: filenames with data to decrypt
docstring_summary: Decrypt ARGS.
docstring_tokens: Decrypt ARGS .
function: def cmd_decrypt(opts=None, args=None):
      """Decrypt ARGS.
  
      Options
      -------
      - '--keyfile': file with (private) decryption keys
      - '--passphrase': decryption passphrase (for private or symmetric key)
      - '--decompress': automatically decompress compressed output
      - '--deliteral': autmatical string-ify literal output
      - '--armor': armor the output
  
      If you're decrypting text, you'll probably want to use --decompress and
      --deliteral to output readable text. Otherwise, the output will remain
      encoded.
  
      Don't use --deliteral with --armor since the result of that combination
      remains undefined.
  
      ARGS: filenames with data to decrypt
      """
      decopts = {}
      cphtxt = _cat_files(args) # need something to decrypt
  
      if getattr(opts, 'keyfile', None):
          decopts['keys'] = _cat_files([opts.keyfile])
  
      if getattr(opts, 'passphrase', None):
          decopts['passphrase'] = opts.passphrase
  
      if getattr(opts, 'decompress', None):
          decopts['decompress'] = True
  
      if getattr(opts, 'deliteral', None):
          decopts['deliteral'] = True
  
      if getattr(opts, 'armor', None):
          decopts['armor'] = True
  
      return decrypt_str(cphtxt, **decopts)
function_tokens: def cmd_decrypt ( opts = None , args = None ) : decopts = { } cphtxt = _cat_files ( args ) # need something to decrypt if getattr ( opts , 'keyfile' , None ) : decopts [ 'keys' ] = _cat_files ( [ opts . keyfile ] ) if getattr ( opts , 'passphrase' , None ) : decopts [ 'passphrase' ] = opts . passphrase if getattr ( opts , 'decompress' , None ) : decopts [ 'decompress' ] = True if getattr ( opts , 'deliteral' , None ) : decopts [ 'deliteral' ] = True if getattr ( opts , 'armor' , None ) : decopts [ 'armor' ] = True return decrypt_str ( cphtxt , * * decopts )