yopass 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gemspec +10 -6
- data/Gemfile +11 -13
- data/Gemfile.lock +27 -32
- data/README.md +8 -7
- data/lib/views/footer.erb +1 -1
- metadata +77 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68d1d4f9ce126a6df1c7fb708971abb5e35e99e7
|
4
|
+
data.tar.gz: 8a0908c156987377b239b43485a7f3ed1be5bc5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2ea98069e1ec88a06aa1f16ade876762547dbf0d803e06d3aa47a56d524dfdc7d58127ebf41610b7bd6f049c55fe7994a4f430d91d3f0cbc2d7a4e965bb392c
|
7
|
+
data.tar.gz: 6a9f4cd4c6748c793b149149526aaab62d4271e0d4e7044223c9f1452b3db6488bbe2a0518119b68b28956ea6c3f23f8644c9166d66319aa5514e6660d75747d
|
data/.gemspec
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
|
-
# Metadata
|
4
3
|
s.name = 'yopass'
|
5
|
-
s.version = '2.2.
|
4
|
+
s.version = '2.2.1'
|
6
5
|
s.author = 'Johan Haals'
|
7
|
-
s.email =
|
6
|
+
s.email = 'johan@haals.se'
|
8
7
|
s.homepage = 'https://github.com/jhaals/yopass'
|
9
8
|
s.summary = 'Secure sharing for secrets and passwords'
|
10
9
|
s.description = 'Web service for sharing secrets more securely'
|
@@ -17,8 +16,13 @@ Gem::Specification.new do |s|
|
|
17
16
|
|
18
17
|
# Dependencies
|
19
18
|
s.required_ruby_version = '>= 1.9.3'
|
20
|
-
s.add_runtime_dependency 'encryptor'
|
21
|
-
s.add_runtime_dependency 'memcached'
|
22
|
-
s.add_runtime_dependency '
|
19
|
+
s.add_runtime_dependency 'encryptor', '~> 1.3'
|
20
|
+
s.add_runtime_dependency 'memcached', '~> 1.8'
|
21
|
+
s.add_runtime_dependency 'rack', '~> 1.5'
|
22
|
+
s.add_runtime_dependency 'sinatra', '~> 1.4'
|
23
|
+
|
24
|
+
s.add_development_dependency 'sinatra-contrib', '~> 1.4'
|
25
|
+
s.add_development_dependency 'rake', '~> 10.4'
|
26
|
+
s.add_development_dependency 'rspec', '~> 3.0'
|
23
27
|
end
|
24
28
|
|
data/Gemfile
CHANGED
@@ -1,14 +1,12 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
gem
|
4
|
-
gem
|
5
|
-
gem
|
6
|
-
gem
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
gem
|
12
|
-
gem 'rake'
|
13
|
-
gem 'rspec'
|
1
|
+
# Generated from /Users/jhaals/src/yopass/.gemspec
|
2
|
+
source :gemcutter
|
3
|
+
gem "encryptor", "~> 1.3"
|
4
|
+
gem "memcached", "~> 1.8"
|
5
|
+
gem "rack", "~> 1.5"
|
6
|
+
gem "sinatra", "~> 1.4"
|
7
|
+
gem "yopass", :path => '.'
|
8
|
+
group :development do
|
9
|
+
gem "sinatra-contrib", "~> 1.4"
|
10
|
+
gem "rake", "~> 10.4"
|
11
|
+
gem "rspec", "~> 3.0"
|
14
12
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,39 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
yopass (2.2.
|
5
|
-
encryptor
|
6
|
-
memcached
|
7
|
-
|
4
|
+
yopass (2.2.1)
|
5
|
+
encryptor (~> 1.3)
|
6
|
+
memcached (~> 1.8)
|
7
|
+
rack (~> 1.5)
|
8
|
+
sinatra (~> 1.4)
|
8
9
|
|
9
10
|
GEM
|
10
|
-
remote:
|
11
|
+
remote: http://rubygems.org/
|
11
12
|
specs:
|
12
|
-
backports (3.6.
|
13
|
-
daemons (1.1.9)
|
13
|
+
backports (3.6.4)
|
14
14
|
diff-lcs (1.2.5)
|
15
15
|
encryptor (1.3.0)
|
16
|
-
eventmachine (1.0.3)
|
17
16
|
memcached (1.8.0)
|
18
17
|
multi_json (1.10.1)
|
19
18
|
rack (1.5.2)
|
20
19
|
rack-protection (1.5.3)
|
21
20
|
rack
|
22
|
-
rack-test (0.6.
|
21
|
+
rack-test (0.6.3)
|
23
22
|
rack (>= 1.0)
|
24
|
-
rake (10.
|
25
|
-
rspec (3.
|
26
|
-
rspec-core (~> 3.
|
27
|
-
rspec-expectations (~> 3.
|
28
|
-
rspec-mocks (~> 3.
|
29
|
-
rspec-core (3.
|
30
|
-
rspec-support (~> 3.
|
31
|
-
rspec-expectations (3.
|
23
|
+
rake (10.4.2)
|
24
|
+
rspec (3.1.0)
|
25
|
+
rspec-core (~> 3.1.0)
|
26
|
+
rspec-expectations (~> 3.1.0)
|
27
|
+
rspec-mocks (~> 3.1.0)
|
28
|
+
rspec-core (3.1.7)
|
29
|
+
rspec-support (~> 3.1.0)
|
30
|
+
rspec-expectations (3.1.2)
|
32
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
|
-
rspec-support (~> 3.
|
34
|
-
rspec-mocks (3.
|
35
|
-
rspec-support (~> 3.
|
36
|
-
rspec-support (3.
|
32
|
+
rspec-support (~> 3.1.0)
|
33
|
+
rspec-mocks (3.1.3)
|
34
|
+
rspec-support (~> 3.1.0)
|
35
|
+
rspec-support (3.1.2)
|
37
36
|
sinatra (1.4.5)
|
38
37
|
rack (~> 1.4)
|
39
38
|
rack-protection (~> 1.4)
|
@@ -45,21 +44,17 @@ GEM
|
|
45
44
|
rack-test
|
46
45
|
sinatra (~> 1.4.0)
|
47
46
|
tilt (~> 1.3)
|
48
|
-
thin (1.6.2)
|
49
|
-
daemons (>= 1.0.9)
|
50
|
-
eventmachine (>= 1.0.0)
|
51
|
-
rack (>= 1.0.0)
|
52
47
|
tilt (1.4.1)
|
53
48
|
|
54
49
|
PLATFORMS
|
55
50
|
ruby
|
56
51
|
|
57
52
|
DEPENDENCIES
|
58
|
-
encryptor
|
59
|
-
memcached
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
sinatra
|
64
|
-
|
53
|
+
encryptor (~> 1.3)
|
54
|
+
memcached (~> 1.8)
|
55
|
+
rack (~> 1.5)
|
56
|
+
rake (~> 10.4)
|
57
|
+
rspec (~> 3.0)
|
58
|
+
sinatra (~> 1.4)
|
59
|
+
sinatra-contrib (~> 1.4)
|
65
60
|
yopass!
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
YoPass is a website for sharing secrets in a quick and secure manner.
|
5
5
|
This project is created to minimize the amount of passwords floating around in ticket management systems, IRC logs and emails. YoPass generates a one-time URL with an expiration date so you don't have to worry about passwords being visible forever
|
6
6
|
|
7
|
+
__[Take me to the demo site](http://yopass.jhaals.se)__
|
8
|
+
|
7
9
|
* AES-256 encryption
|
8
10
|
* Secrets can only be viewed once
|
9
11
|
* No secrets are written to disk
|
@@ -28,19 +30,18 @@ Most settings can be configured with environment variables.
|
|
28
30
|
|
29
31
|
|
30
32
|
### Run in docker container
|
31
|
-
YoPass Docker container available [here](https://hub.docker.com/u/jhaals/yopass)
|
32
|
-
|
33
|
-
make sure to change `YOPASS_BASE_URL`
|
34
33
|
|
34
|
+
docker pull jhaals/yopass
|
35
35
|
docker run -e "RACK_ENV=production" -e "YOPASS_BASE_URL=http://192.168.59.105:4567" -p 4567:4567 -d jhaals/yopass
|
36
36
|
|
37
37
|
### SMS providers
|
38
38
|
|
39
|
-
|
40
|
-
Use the bulksms provider in ```lib/sms_provider/bulksms.rb``` as example
|
39
|
+
Supported SMS providers
|
41
40
|
|
42
|
-
|
43
|
-
|
41
|
+
- Bulksms
|
42
|
+
|
43
|
+
Missing your favorite SMS provider? Just fork the repo and submit a pull request.
|
44
|
+
Use the bulksms provider in ```lib/sms_provider/bulksms.rb``` as example
|
44
45
|
|
45
46
|
### Screenshot
|
46
47
|
![YoPass website](http://f.cl.ly/items/2F2T1L3a3R162K2G383q/yopass.png)
|
data/lib/views/footer.erb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="ui horizontal icon divider">
|
2
2
|
<i class="settings icon"></i>
|
3
3
|
</div>
|
4
|
-
<footer>Yopass is created by <a class="blue" href="https://github.com/jhaals">Johan Haals</a></footer>
|
4
|
+
<footer>Yopass is created by <a class="blue" href="https://github.com/jhaals/yopass">Johan Haals</a></footer>
|
5
5
|
</div>
|
6
6
|
</div>
|
7
7
|
</body>
|
metadata
CHANGED
@@ -1,67 +1,122 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yopass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Johan Haals
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: encryptor
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: memcached
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.8'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rack
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.5'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.5'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: sinatra
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - "~>"
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '1.4'
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.4'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sinatra-contrib
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.4'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.4'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.4'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
53
109
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
110
|
+
version: '3.0'
|
55
111
|
description: Web service for sharing secrets more securely
|
56
|
-
email:
|
57
|
-
- jhaals@spotify.com
|
112
|
+
email: johan@haals.se
|
58
113
|
executables: []
|
59
114
|
extensions: []
|
60
115
|
extra_rdoc_files: []
|
61
116
|
files:
|
62
|
-
- .gemspec
|
63
|
-
- .gitignore
|
64
|
-
- .travis.yml
|
117
|
+
- ".gemspec"
|
118
|
+
- ".gitignore"
|
119
|
+
- ".travis.yml"
|
65
120
|
- CHANGELOG.md
|
66
121
|
- Dockerfile
|
67
122
|
- Gemfile
|
@@ -131,17 +186,17 @@ require_paths:
|
|
131
186
|
- conf
|
132
187
|
required_ruby_version: !ruby/object:Gem::Requirement
|
133
188
|
requirements:
|
134
|
-
- -
|
189
|
+
- - ">="
|
135
190
|
- !ruby/object:Gem::Version
|
136
191
|
version: 1.9.3
|
137
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
193
|
requirements:
|
139
|
-
- -
|
194
|
+
- - ">="
|
140
195
|
- !ruby/object:Gem::Version
|
141
196
|
version: '0'
|
142
197
|
requirements: []
|
143
198
|
rubyforge_project:
|
144
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.2.2
|
145
200
|
signing_key:
|
146
201
|
specification_version: 4
|
147
202
|
summary: Secure sharing for secrets and passwords
|