diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-08-05 08:13:10 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-08-05 08:13:10 +0300 |
commit | fbbb358b8faf7e966ffa476cd1125673c69b3ab6 (patch) | |
tree | c876820e9df6b1c4da09a491a95d1b2ad839b94f /bin/ak-sm-merkle-tree | |
parent | ceab9d276be46d6d136d6a7d48c7ed165f7bc0f1 (diff) | |
download | arching-kaos-tools-fbbb358b8faf7e966ffa476cd1125673c69b3ab6.tar.gz arching-kaos-tools-fbbb358b8faf7e966ffa476cd1125673c69b3ab6.tar.bz2 arching-kaos-tools-fbbb358b8faf7e966ffa476cd1125673c69b3ab6.zip |
Encodes file to base64 to avoid losing bytes
Diffstat (limited to 'bin/ak-sm-merkle-tree')
-rwxr-xr-x | bin/ak-sm-merkle-tree | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ak-sm-merkle-tree b/bin/ak-sm-merkle-tree index 1178803..0fe8f7a 100755 --- a/bin/ak-sm-merkle-tree +++ b/bin/ak-sm-merkle-tree @@ -26,7 +26,8 @@ then echo "[ERROR] File not found" exit 1 else - FILE="$1" + base64 $1 > file + FILE="file" fi # The directory where the chunked data will be living at |