- Add comprehensive test file for internal/grpcserver package - Cover interceptors, system, engine, policy, and auth handlers - Cover pbToRule/ruleToPB conversion helpers - 37 tests total; CA/PKI/ACME and Login/Logout skipped (require live deps) Co-authored-by: Junie <junie@jetbrains.com>
27 lines
1.1 KiB
HTML
27 lines
1.1 KiB
HTML
{{define "title"}} - Initialize{{end}}
|
|
{{define "container-class"}}auth-container{{end}}
|
|
{{define "content"}}
|
|
<div class="auth-header">
|
|
<div class="brand">Metacrypt</div>
|
|
<div class="tagline">Cryptographic Services</div>
|
|
</div>
|
|
<div class="card">
|
|
<div class="card-title">Initialize</div>
|
|
<p>Set the seal password for this instance. This password will be required to unseal the service after each restart.</p>
|
|
{{if .Error}}<div class="error">{{.Error}}</div>{{end}}
|
|
<form method="POST" action="/init">
|
|
<div class="form-group">
|
|
<label for="password">Seal Password</label>
|
|
<input type="password" id="password" name="password" required autofocus autocomplete="new-password">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="confirm">Confirm Password</label>
|
|
<input type="password" id="confirm" name="confirm" required autocomplete="new-password">
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="submit">Initialize</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
{{end}}
|