yopass 3.0.6 → 3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/public/display-secret.html +10 -12
- data/lib/public/js/app.js +1 -0
- data/yopass.gemspec +2 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTlmMmJiMzQyMzkzZjUyYTRhNzUyYzFkNDdlZjg1NTU0YTg2MWU2OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWJlOTU5OTUzOWZmNDBlYjA3ODQwNzUwMjg2NTg2MjFlMDQyYzM5Mw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjA5YWY3OTgyZDFkYWI0N2I5ZWFmZWY5Y2RmNzZiMWJkNjdhNmM5Mzk1OTk4
|
10
|
+
NjJhMmFhNzUxNTA1NWMwM2NkZDMwMjUwYTIyYjczZTMxZmE4MmEzZWU0MGIz
|
11
|
+
ZWUyN2MxODZiZDY4YTc1NDVlZGVlZTFjOTVjZmJjODFjZmIyNDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODg5ZTY3ZGM1YjMzNWIwZDVhMjc1MGJiNzNhMjRjMzU2OTE2YzJjYWRjMzdk
|
14
|
+
NGIyZWU0OWEzMWRhYzQ0ODE3OTliYmM4ODQxZGFlZTdlZjFhMDY2MjdjYWY0
|
15
|
+
NWJmMDgzNzQxZDBmYzQ4NmEyZjc2Y2MwNzlhOTA2ZjliMGI1MzU=
|
@@ -18,19 +18,17 @@ Invalid Decryption Key
|
|
18
18
|
</div>
|
19
19
|
|
20
20
|
<div ng-show="secret">
|
21
|
-
<pre>{{secret}}</pre>
|
22
|
-
This secret will not be viewable again, save it!
|
21
|
+
<pre>{{secret}}</pre>
|
22
|
+
This secret will not be viewable again, save it!
|
23
23
|
</div>
|
24
24
|
|
25
|
-
<div ng-show="display_form">
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
<
|
30
|
-
|
31
|
-
<input class="form-control" ng-model="form.decryption_key"></input>
|
32
|
-
</div>
|
33
|
-
<button type="submit" class="btn btn-primary" ng-click="view(form)">Decrypt Message</button>
|
34
|
-
</form>
|
25
|
+
<div class="jumbotron" ng-show="display_form">
|
26
|
+
<form novalidate ng-hide="secret">
|
27
|
+
A decryption key is required to view this secret, please enter it below
|
28
|
+
<div class="form-group">
|
29
|
+
<label>Decryption Key</label>
|
30
|
+
<input class="form-control" ng-model="form.decryption_key"></input>
|
35
31
|
</div>
|
32
|
+
<button type="submit" class="btn btn-primary" ng-click="view(form)">Decrypt Message</button>
|
33
|
+
</form>
|
36
34
|
</div>
|
data/lib/public/js/app.js
CHANGED
@@ -27,6 +27,7 @@ app.controller('ViewController', function($scope, $routeParams, $http) {
|
|
27
27
|
.success(function(data, status, headers, config) {
|
28
28
|
$scope.errorMessage = false;
|
29
29
|
$scope.invalidPassword = false;
|
30
|
+
$scope.display_form = false;
|
30
31
|
$scope.secret = data.secret;
|
31
32
|
})
|
32
33
|
.error(function(data, status, headers, config) {
|
data/yopass.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'yopass'
|
4
|
-
s.version = '3.0.
|
4
|
+
s.version = '3.0.7'
|
5
5
|
s.author = 'Johan Haals'
|
6
6
|
s.email = 'johan@haals.se'
|
7
7
|
s.homepage = 'https://github.com/jhaals/yopass'
|
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_runtime_dependency 'rack', ['>= 1.5.0', '< 1.6']
|
22
22
|
s.add_runtime_dependency 'sinatra', '~> 1.4'
|
23
23
|
s.add_runtime_dependency 'sinatra-contrib', '~> 1.4'
|
24
|
+
s.add_runtime_dependency 'thin'
|
24
25
|
|
25
26
|
s.add_development_dependency 'rake', '~> 10.4'
|
26
27
|
s.add_development_dependency 'rspec', '~> 3.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yopass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johan Haals
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: encryptor
|
@@ -86,6 +86,20 @@ dependencies:
|
|
86
86
|
- - ~>
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '1.4'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: thin
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
89
103
|
- !ruby/object:Gem::Dependency
|
90
104
|
name: rake
|
91
105
|
requirement: !ruby/object:Gem::Requirement
|