cryptfs
cryptfs
offers a command line utility for encrypting / decrypting files.
Install
go get github.com/moov-io/cryptfs/cmd/cryptfs
Usage
$ cryptfs -help
Usage of cryptfs:
-aes string
Configure AES encryption with the specified key. Can also be a filepath.
Prefix value with 'base64:' to decode key.
-base64
Configure Base64 encoding
-decrypt string
Filepath to load and attempt decryption
-encrypt string
Filepath to load and attempt encryption
-output string
Optional filepath to write final contents into
-verbose
Enable verbose logging
Encryption
$ cryptfs -encrypt coder.go -verbose -aes 1234567887654321 -base64 -output foo.enc
2022/03/09 14:37:09 DEBUG Preparing foo.enc for output
Decryption
$ cryptfs -decrypt foo.enc -verbose -aes 1234567887654321 -base64
... (output)
Getting help
channel |
info |
Twitter @moov |
You can follow Moov.io's Twitter feed to get updates on our project(s). You can also tweet us questions or just share blogs or stories. |
GitHub Issue |
If you are able to reproduce a problem please open a GitHub Issue under the specific project that caused the error. |
moov-io slack |
Join our slack channel (#infra ) to have an interactive discussion about the development of the project. |
Contributing
Yes please! Please review our Contributing guide and Code of Conduct to get started! Checkout our issues for first time contributors for something to help out with.
This project uses Go Modules and Go v1.18 or newer. See Golang's install instructions for help setting up Go. You can download the source code and we offer tagged and released versions as well. We highly recommend you use a tagged release for production.
License
Apache License 2.0 - See LICENSE for details.