sera/commands/crypt.py
def decrypt(ctx, recursive, password, root):
    """Decrypt .nacl files on a path and overwrite existing"""
    password = password or click.prompt("Enter password", hide_input=True).strip().encode()
    if ctx.obj['local']:
        apply_crypto(password, recursive, root, pattern='*.nacl', command='decrypt')
    else:
        out = remote('decrypt', ctx)
        return lprint(ctx, out)
Decrypt .nacl files on a path and overwrite existing
Decrypt .nacl files on a path and overwrite existing
Decrypt . nacl files on a path and overwrite existing
def decrypt(ctx, recursive, password, root):
    password = password or click.prompt("Enter password", hide_input=True).strip().encode()
    if ctx.obj['local']:
        apply_crypto(password, recursive, root, pattern='*.nacl', command='decrypt')
    else:
        out = remote('decrypt', ctx)
        return lprint(ctx, out)
def decrypt ( ctx , recursive , password , root ) : password = password or click . prompt ( "Enter password" , hide_input = True ) . strip ( ) . encode ( ) if ctx . obj [ 'local' ] : apply_crypto ( password , recursive , root , pattern = '*.nacl' , command = 'decrypt' ) else : out = remote ( 'decrypt' , ctx ) return lprint ( ctx , out )
Decrypt .nacl files on a path and overwrite existing
Decrypt . nacl files on a path and overwrite existing
"""Decrypt .nacl files on a path and overwrite existing"""
ctx
recursive
password
root