ЛР 7 — БВТ2303 — Вейнмайер — на 5 #29

Closed
Weinmaier_Andrew wants to merge 15 commits from Weinmaier_Andrew/mtusi2026lab7:solution/bvt2303-weinmaier into main
Showing only changes of commit b5b55fda89 - Show all commits
+2 -1
View File
@@ -99,7 +99,8 @@ def unseal():
return
keys = init_json()['unseal_keys_b64']
for k in keys[:2]:
bao('operator', 'unseal', '-', token=False, input=k + '\n')
# Доля unseal — через stdin (key=-), не аргументом командной строки.
bao('write', '-format=json', 'sys/unseal', 'key=-', token=False, input=k)
st = bao_status()
print('openbao sealed=%s' % st['sealed'])