readonce 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -21
- data/lib/readonce/version.rb +1 -1
- data/lib/readonce.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93b215aafa56bea915fd4f069891b1a90e105562
|
4
|
+
data.tar.gz: 1f8a0283e4f3f4cb13e229126021297a34b80053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96cf6fbb23f2c65bc3bdf89b3f20ba9328f45d65367517d614e751670cccbda7f7725f1453113b49b5870ebd4af2423c1b3335607e0cbdc65cd94f129469b51b
|
7
|
+
data.tar.gz: 1c5ca0e836d24420796b552638d9a6d3e6ae0a0614e6e484e9ef958b8c2f8ec45f8fb2acd6b565b158aca54cc11630b547c1a8721aed611d7428a03c7aa4774e
|
data/README.md
CHANGED
@@ -1,38 +1,32 @@
|
|
1
|
-
#
|
1
|
+
# ReadOnce
|
2
2
|
|
3
|
-
|
3
|
+
Readonce is a command line utility for sharing passwords and other private information with exactly one person.
|
4
4
|
|
5
|
-
|
5
|
+
This CLI takes any data from STDIN, pushes it to the [readonce-server web service](https://github.com/freerobby/readonce-server), and returns a unique URL where the data can be queried exactly once.
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
|
-
```ruby
|
12
|
-
gem 'readonce'
|
13
|
-
```
|
7
|
+
As soon as the first request for a given key is received by the web service, its associated data are deleted.
|
14
8
|
|
15
|
-
|
9
|
+
## Installation
|
16
10
|
|
17
|
-
|
11
|
+
`gem install readonce` -- that's it!
|
18
12
|
|
19
|
-
|
13
|
+
## Usage
|
20
14
|
|
21
|
-
|
15
|
+
To share a line of text, such as a password, use:
|
22
16
|
|
23
|
-
|
17
|
+
`echo "foobar123" | readonce`
|
24
18
|
|
25
|
-
|
19
|
+
To share a file, such as a private key, use:
|
26
20
|
|
27
|
-
|
21
|
+
`readonce < mykey.pem`
|
28
22
|
|
29
|
-
|
23
|
+
You can check whether your readonce data has been accessed with:
|
30
24
|
|
31
|
-
|
25
|
+
`readonce -s <key>`
|
32
26
|
|
33
|
-
|
27
|
+
Or, you can have readonce block until it has been accessed, so you can see exactly when the recipient has viewed it:
|
34
28
|
|
35
|
-
|
29
|
+
`readonce -w < mykey.pem` or `readonce -w <key>`
|
36
30
|
|
37
31
|
|
38
32
|
## License
|
data/lib/readonce/version.rb
CHANGED
data/lib/readonce.rb
CHANGED