25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
<div .span9 .hero-unit>
|
|
<h2>
|
|
Encrypt this drive?
|
|
<p>
|
|
Encrypting the repository stored on the removable drive at #
|
|
<tt>#{mountPoint drive}</tt> #
|
|
will prevent the data stored in it from being exposed if the drive #
|
|
falls into the wrong hands. However, encryption #
|
|
will also prevent you from sharing the repository with friends, or #
|
|
easily accessing its contents on another computer.
|
|
<p>
|
|
<a .btn onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive NoRepoKey}">
|
|
<i .icon-minus-sign></i> Do not encrypt repository #
|
|
Anyone who has the drive can see the files stored on it.
|
|
$forall (keyid, name) <- secretkeys
|
|
<p>
|
|
<a .btn onclick="$('#setupmodal').modal('show');" href="@{FinishAddDriveR drive (RepoKey keyid)}">
|
|
<i .icon-ok-sign></i> Encrypt repository #
|
|
to ^{gpgKeyDisplay keyid (Just name)}
|
|
<p>
|
|
<a .btn onclick="$('#genkeymodal').modal('show');" href="@{GenKeyForDriveR drive}">
|
|
<i .icon-plus-sign></i> Encrypt repository #
|
|
with a new encryption key
|
|
^{setupDriveModal}
|
|
^{genKeyModal}
|