Adapted the web UI to work with the new secrets API

This commit is contained in:
Jeremy Stretch
2017-02-03 16:14:42 -05:00
parent a9fe39459a
commit 616ca4fe1f
4 changed files with 114 additions and 81 deletions

View File

@@ -10,16 +10,15 @@
</div>
<div class="modal-body">
<p>
Your private RSA key is needed to complete this action. Once you've provided your key, it will
remain cached locally until you close this browser tab.
You do not have an active session key. To request one, please provide your private RSA key below.
Once retrieved, your session key will be saved for future requests.
</p>
<div class="form-group">
<textarea class="form-control" id="user_privkey" style="height: 300px;"></textarea>
</div>
<div class="form-group text-right">
<button id="submit_privkey" class="btn btn-primary unlock-secret" data-dismiss="modal">
<i class="fa fa-save" aria-hidden="True"></i>
Save RSA Key
<button id="request_session_key" class="btn btn-primary unlock-secret" data-dismiss="modal">
Request session key
</button>
</div>
</div>