We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3999199 commit 817b583Copy full SHA for 817b583
src/luks/clevis-luks-report
@@ -99,7 +99,7 @@ report_sss() {
99
local jwe
100
for jwe in $(jose fmt --json="${content}" --get jwe --foreach=-); do
101
jwe="$(printf '%s' "${jwe}" | sed -e 's/"//g')"
102
- report_decode "${jwe}"
+ report_decode "${jwe}" || return 1
103
done
104
}
105
@@ -129,10 +129,10 @@ report_decode() {
129
130
case "${pin}" in
131
tang)
132
- report_tang "${content}"
+ report_tang "${content}" || return 1
133
;;
134
sss)
135
- report_sss "${content}"
+ report_sss "${content}" || return 1
136
137
esac
138
0 commit comments