kb_encrypt_file: Encrypt/decrypt a file

View source: R/kb-cmd.r

kb_encrypt_fileR Documentation

Encrypt/decrypt a file

Description

Encrypt/decrypt a file

Usage

kb_encrypt_file(users, infile, outfile = NULL, binary = FALSE)

kb_decrypt_file(infile, outfile = NULL)

Arguments

users

keybase user ids (character vector)

infile

path to file to encrypt

outfile

if NULL then the encrypted/decrypted file contents are returned as a vector (type depends on value of binary). If a string, it should be a valid path to where the encrypted/decrypted file will be written.

binary

if TRUE iutput in binary (rather than ASCII/armored which is the default)


ropenscilabs/keybase documentation built on May 11, 2022, 9:10 a.m.