-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added install script and updated the README
- Loading branch information
Showing
4 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
# tlatia | ||
# Tlatia | ||
|
||
A description of this package. | ||
# tlatia | ||
A password-based utility to encrypt and decrypt files (like `ansible-vault`) | ||
|
||
## Requirements | ||
|
||
- Swift 5.0 | ||
|
||
## Install | ||
|
||
```sh | ||
$ ./install.sh | ||
``` | ||
|
||
This will build the executable and copy it under your `/usr/local/bin` | ||
directory for easy access. | ||
|
||
## Usage | ||
|
||
```sh | ||
$ tlatia OPERATION INPUT OUTPUT | ||
``` | ||
|
||
- *OPERATION*: `encrypt` | `decrypt` | ||
- *INPUT*: Input file to encrypt or decrypt | ||
- *OUTPUT*: Output file where to write the result | ||
|
||
This will take a `utf8` encrypted file and ask for a password and then proceed | ||
to encrypt/decrypt your file. If you are encrypting it will ask a confirmation | ||
before proceeding. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
echo Building... | ||
swift build -c release | ||
|
||
echo Copying executable to "/usr/local/bin/" | ||
cp .build/release/tlatia /usr/local/bin/ | ||
|
||
echo Finished... |