fix test: re-certify after revoke
This commit is contained in:
parent
33dce050fd
commit
2596733033
1 changed files with 8 additions and 0 deletions
|
|
@ -42,6 +42,14 @@ $pub
|
|||
mte-offline-tool upload --input $b --url $url"/management/signkeys/"$pub"/revoke"
|
||||
echo "[OK] /management/signkeys/\$EXCHANGE_PUB/revoke"
|
||||
|
||||
# re-do a 'POST /management/keys' to be sure the exchange has a valid signkey after revoke-signkey
|
||||
mte-offline-tool download --output $a --url $url"/management/keys"
|
||||
mte-offline-tool sign \
|
||||
--master_key $master_key \
|
||||
--input $a \
|
||||
--output $b
|
||||
mte-offline-tool upload --input $b --url $url"/management/keys"
|
||||
|
||||
mte-offline-tool enable-auditor \
|
||||
--master_key $master_key \
|
||||
--output $b \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue