Sha256: c7d1cfab7b2e4c26df069ba71cf60a488b16992870ca76f5607ed3a282d33f66

Contents?: true

Size: 1.87 KB

Versions: 1

Compression:

Stored size: 1.87 KB

Contents

<div class="alert alert-danger" ng-show="invalidPassword">
Invalid Decryption Key
</div>
<div ng-show="errorMessage">
  <h3>Secret does not exist</h3>
  <p>It might be caused by <b>any</b> of these reasons</p>
  <h5><span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span> Opened Before</h5>
  <p>A secret can only be displayed ONCE. It might be lost due to a non-techy sender that clicked the URL before sending it to you. The secret might have been compromised and read by someone else. You should contact the sender and request a new secret</p>
  <h5><span class="glyphicon glyphicon-link" aria-hidden="true"></span> Incorrect URL</h5>
  <p>The URL you've been given might be missing some magic digits</p>
  <h5><span class="glyphicon glyphicon-time" aria-hidden="true"></span> Expired Secret</h5>
  <p>No secrets last forever. All secrets expires and self destruct automatically. Lifetime varies from one hour up to one week</p>
  <h5><span class="glyphicon glyphicon-off" aria-hidden="true"></span> Service Restart</h5>
  <p>No secrets are stored on disk, which means that all secrets will be lost if the database backend(memecached) is restarted
  </p>
  <h5><span class="glyphicon glyphicon-fire" aria-hidden="true"></span> Too many decryption attempts</h5>
  <p>Secret is deleted automatically after 3 unsuccessful decryption attempts </p>
</div>

<div ng-show="secret">
<pre>{{secret}}</pre>
This secret will not be viewable again, save it!
</div>

<div ng-show="display_form">
  <div class="jumbotron">
  <form novalidate ng-hide="secret">
    A decryption key is required to view this secret, please enter it below
    <div class="form-group">
      <label>Decryption Key</label>
      <input class="form-control" ng-model="form.decryption_key"></input>
    </div>
    <button type="submit" class="btn btn-primary" ng-click="view(form)">Decrypt Message</button>
  </form>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yopass-3.0.6 lib/public/display-secret.html