Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arl/furet
Simple command line interface to encrypt/decrypt data encoded with a Fernet encryption key.
https://github.com/arl/furet
cli crypt decrypt fernet go
Last synced: about 1 month ago
JSON representation
Simple command line interface to encrypt/decrypt data encoded with a Fernet encryption key.
- Host: GitHub
- URL: https://github.com/arl/furet
- Owner: arl
- License: mit
- Created: 2021-08-06T12:18:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-20T00:00:40.000Z (over 2 years ago)
- Last Synced: 2024-10-15T13:28:56.708Z (3 months ago)
- Topics: cli, crypt, decrypt, fernet, go
- Language: Go
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Furet
Simple command line interface to encrypt/decrypt data encoded with a
[Fernet](https://github.com/fernet/spec/) encryption key.```
$ furet -hfuret encrypts or decrypts with the Fernet symmetric encryption.
Usage:
furet [-o OUTPUT] --key KEY [INPUT]
furet [--decrypt] --key KEY [-o OUTPUT] [INPUT]Options:
-e, --encrypt Encrypt the input to the output. Default if omitted.
-d, --decrypt Decrypt the input to the output.
-k, --key Key to use. (accepts hexadecimal standard base64 or URL-safe base64.
-g, --generate Generate a random key.
INPUT defaults to standard input, and OUTPUT defaults to standard output.Examples:
$ KEY=$(furet -g)
$ furet --key $KEY -o file.furet file
$ furet --key $KEY -o file.furet < file
$ furet --decrypt -k $KEY -o file file.furet
$ furet --decrypt -k $KEY < file.furet > file`
```