Sha256: 77bcb6d3fc38c96f887dbc41c774b722a445ad5ad074adf497acac7de7cdfdb8

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 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 class="jumbotron" ng-show="display_form">
<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>

Version data entries

1 entries across 1 versions & 1 rubygems

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