Implemented master key migration to re-encrypt vault DEKs when the master key changes. Added support for migrating single repositories or instance-wide. Implemented DEK rotation for Enterprise licenses to periodically rotate data encryption keys. Added new UI templates and API endpoints for key management operations with comprehensive error handling.
31 lines
1.3 KiB
Cheetah
31 lines
1.3 KiB
Cheetah
{{template "repo/vault/layout_head" (dict "ctxData" . "pageClass" "repository vault key-error")}}
|
|
<div class="ui placeholder segment tw-text-center">
|
|
<div class="ui icon header">
|
|
{{svg "octicon-key" 48}}
|
|
<h2>{{ctx.Locale.Tr "vault.key_mismatch_title"}}</h2>
|
|
</div>
|
|
|
|
<div class="ui warning message" style="text-align: left; max-width: 600px; margin: 1em auto;">
|
|
<div class="header">{{ctx.Locale.Tr "vault.key_mismatch_message"}}</div>
|
|
<p style="margin-top: 0.5em;">{{ctx.Locale.Tr "vault.key_mismatch_explanation"}}</p>
|
|
</div>
|
|
|
|
<div class="ui info message" style="text-align: left; max-width: 600px; margin: 1em auto;">
|
|
<div class="header">{{ctx.Locale.Tr "vault.key_mismatch_solutions_title"}}</div>
|
|
<ul class="ui list" style="margin-top: 0.5em;">
|
|
<li>{{ctx.Locale.Tr "vault.key_mismatch_solution_1"}}</li>
|
|
<li>{{ctx.Locale.Tr "vault.key_mismatch_solution_2"}}</li>
|
|
<li>{{ctx.Locale.Tr "vault.key_mismatch_solution_3"}}</li>
|
|
</ul>
|
|
</div>
|
|
|
|
{{if .IsRepoAdmin}}
|
|
<div class="ui divider"></div>
|
|
<p class="ui small text grey">{{ctx.Locale.Tr "vault.key_mismatch_admin_note"}}</p>
|
|
<a class="ui primary button" href="{{.RepoLink}}/vault/migrate-key">
|
|
{{svg "octicon-sync" 16}} {{ctx.Locale.Tr "vault.key_migration_title"}}
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{template "repo/vault/layout_footer" .}}
|