File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
[user ]
5
5
name = Bryan MacFarlane
6
6
email = bryanmacf@gmail.com
7
+
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ function dot_set_secret() {
36
36
37
37
dot_ensure_key
38
38
local secpath=" ${DOT_PRIV_PATH} /secrets/${1} .dat"
39
- echo " ${2} " | openssl rsautl -inkey " ${DOT_KEY_PATH} " -encrypt > " ${secpath} "
39
+ echo " ${2} " | openssl pkeyutl -inkey " ${DOT_KEY_PATH} " -encrypt > " ${secpath} "
40
40
echo " created in ${secpath} "
41
41
}
42
42
@@ -52,7 +52,7 @@ function dot_get_secret() {
52
52
return
53
53
fi
54
54
55
- openssl rsautl -inkey " ${DOT_KEY_PATH} " -decrypt < " ${DOT_PRIV_PATH} /secrets/${1} .dat"
55
+ openssl pkeyutl -inkey " ${DOT_KEY_PATH} " -decrypt < " ${DOT_PRIV_PATH} /secrets/${1} .dat"
56
56
}
57
57
58
58
function dot_list_secrets() {
You can’t perform that action at this time.
0 commit comments