Skip to content

Commit

Permalink
Remove ui decryption changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
agibbons27 committed Jun 24, 2024
1 parent cee0ee9 commit 6b6eb78
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
9 changes: 0 additions & 9 deletions src/thumbtack/static/js/thumbtack.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,3 @@ function copyToClipboard(str) {
document.execCommand('copy');
document.body.removeChild(el);
}

function toggleKey() {
var x = document.getElementById("key");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}
14 changes: 0 additions & 14 deletions src/thumbtack/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,6 @@ <h2>Path to disk images: <a href="{{ url_for('.mount') }}" >{{ image_dir }}</a><
<form class="myForm" method="post" action="{{ url_for('.mount_form') }}">
<input type="hidden" name="img_to_mount" value="{{ image.rel_path }}">
<input type="hidden" name="operation" value="mount">
<span id="dec_caret" class="caret">Decryption options</span>
<ul class="nested">
<label for="decryption_methods">Decryption Method:</label>
<select name="decryption methods" id="decryption_methods">
<option value="none">---</option>
<option value="bitlocker password">bitlocker password</option>
<option value="bitlocker recovery key">bitlocker recovery key</option>
<option value="bitlocker full volume encryption and tweak key">bitlocker full volume encryption and tweak key</option>
<option value="luks passphrase">luks passphrase</option>
</select>
<label for="key">Decryption key:</label>
<input type="password" id="key" name="key">
<input type="checkbox" onclick="toggleKey()">Show key
</ul>
<button>Mount</button>
</form>
{% endif %}
Expand Down

0 comments on commit 6b6eb78

Please sign in to comment.