sym 2.6.1 → 2.6.2
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/lib/sym/version.rb +3 -20
- data/sym.gemspec +2 -1
- metadata +28 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c169c37700945822d66dd59d354351489dc8f0c3
|
4
|
+
data.tar.gz: 96d3d0f19ddd0c2c853bbedb6aa66e315214a8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fb78214630982559137dea9f572833ca31a51b0bf1b91605af3a6ede7412533d997660298c7176c43741f03e35e1a6cc613697e9993da3d78e3ccddabe7d3cb
|
7
|
+
data.tar.gz: 68d3c33eca5d9093ac3a3896271864edf063c18a4f8a8b2aa06d2cb9beb6f9200471124412a156c4c8f839fe773d8559384ddfe0f5dec82e1e5ef60158a40385
|
data/lib/sym/version.rb
CHANGED
@@ -1,25 +1,8 @@
|
|
1
1
|
module Sym
|
2
|
-
VERSION = '2.6.
|
2
|
+
VERSION = '2.6.2'
|
3
3
|
DESCRIPTION = <<-eof
|
4
|
-
|
4
|
+
Sym is a ruby library (gem) that offers both the command line interface (CLI) and a set of rich Ruby APIs, which make it rather trivial to add encryption and decryption of sensitive data to your development or deployment flow. As a layer of additional security, you can encrypt the private key itself with a password. Unlike many other existing encryption tools, Sym focuses on getting out of the way — by offering its streamlined interface, hoping to make encryption of application secrets nearly completely transparent to the developers. For the data encryption Sym uses a symmetric 256-bit key with the AES-256-CBC cipher, same cipher as used by the US Government. For password-protecting the key Sym uses AES-128-CBC cipher. The resulting data is zlib-compressed and base64-encoded. The keys are also base64 encoded for easy copying/pasting/etc.
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
Unlike many other existing encryption tools, Sym focuses on getting out of the way — by offering its streamlined interface, hoping to make encryption of application secrets nearly completely transparent to the developers.
|
9
|
-
|
10
|
-
For the data encryption Sym uses a symmetric 256-bit key with the `AES-256-CBC` cipher, same cipher as used by the US Government. For password-protecting the key Sym uses `AES-128-CBC` cipher. The resulting data is zlib-compressed and base64-encoded. The keys are also base64 encoded for easy copying/pasting/etc.
|
11
|
-
|
12
|
-
### Massive Time Savers
|
13
|
-
|
14
|
-
Sym accomplishes encryption transparency by combining convenience features:
|
15
|
-
|
16
|
-
* Sym can read the private key from multiple source types, such as: a pathname to a file, an environment variable name, a keychain entry, or CLI argument. You simply pass either of these to the `-k` flag — one flag that works for all source types
|
17
|
-
* By utilizing OS-X Keychain on a Mac, Sym offers truly secure way of storing the key on a local machine, much more secure then storing it on a file system
|
18
|
-
* By using a local password cache (activated with `-c`) via an in-memory provider such as memcached or `drb`, sym invocations take advantage of password cache, and only ask for a password once per a configurable time period
|
19
|
-
* By using `SYM_ARGS` environment variable, where common flags can be saved. This is activated with `sym -A`
|
20
|
-
* By reading the key from the default key source file `~/.sym.key` which requires no flags at all
|
21
|
-
* By utilizing the `--negate` option to quickly encrypt a regular file, or decrypt an encrypted file with extension `.enc`
|
22
|
-
* By implementing the `-t` (edit) mode, that opens an encrypted file in your `$EDITOR`, and replaces the encrypted version upon save & exit, optionally creating a backup.
|
23
|
-
* By offering the `Sym::MagicFile` ruby API to easily read encrypted files into memory.
|
6
|
+
Sym accomplishes encryption transparency by combining convenience features: 1) Sym can read the private key from multiple source types, such as: a pathname to a file, an environment variable name, a keychain entry, or CLI argument. You simply pass either of these to the -k flag — one flag that works for all source types. 2) By utilizing OS-X Keychain on a Mac, Sym offers truly secure way of storing the key on a local machine, much more secure then storing it on a file system, 3) By using a local password cache (activated with -c) via an in-memory provider such as memcached or drb, sym invocations take advantage of password cache, and only ask for a password once per a configurable time period, 4) By using SYM_ARGS environment variable, where common flags can be saved. This is activated with sym -A, 5) By reading the key from the default key source file ~/.sym.key which requires no flags at all, 6) By utilizing the --negate option to quickly encrypt a regular file, or decrypt an encrypted file with extension .enc 7) By implementing the -t (edit) mode, that opens an encrypted file in your $EDITOR, and replaces the encrypted version upon save & exit, optionally creating a backup. 8) By offering the Sym::MagicFile ruby API to easily read encrypted files into memory.
|
24
7
|
eof
|
25
8
|
end
|
data/sym.gemspec
CHANGED
@@ -42,7 +42,8 @@ Thank you for using Sym and happy crypting :)
|
|
42
42
|
For bonus points, run 'symit -h' after installing and loading bash
|
43
43
|
completion.
|
44
44
|
|
45
|
-
@kigster on Github,
|
45
|
+
@kigster on Github,
|
46
|
+
@kig on Twitter.
|
46
47
|
|
47
48
|
EOF
|
48
49
|
spec.add_dependency 'colored2', '~> 3'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sym
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Gredeskoul
|
@@ -206,34 +206,32 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
-
description: "
|
210
|
-
(
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
* By offering the `Sym::MagicFile` ruby API to easily read encrypted files into
|
236
|
-
memory.\n"
|
209
|
+
description: "Sym is a ruby library (gem) that offers both the command line interface
|
210
|
+
(CLI) and a set of rich Ruby APIs, which make it rather trivial to add encryption
|
211
|
+
and decryption of sensitive data to your development or deployment flow. As a layer
|
212
|
+
of additional security, you can encrypt the private key itself with a password.
|
213
|
+
\ Unlike many other existing encryption tools, Sym focuses on getting out of the
|
214
|
+
way — by offering its streamlined interface, hoping to make encryption of application
|
215
|
+
secrets nearly completely transparent to the developers. For the data encryption
|
216
|
+
Sym uses a symmetric 256-bit key with the AES-256-CBC cipher, same cipher as used
|
217
|
+
by the US Government. For password-protecting the key Sym uses AES-128-CBC cipher.
|
218
|
+
The resulting data is zlib-compressed and base64-encoded. The keys are also base64
|
219
|
+
encoded for easy copying/pasting/etc.\n \nSym accomplishes encryption transparency
|
220
|
+
by combining convenience features: 1) Sym can read the private key from multiple
|
221
|
+
source types, such as: a pathname to a file, an environment variable name, a keychain
|
222
|
+
entry, or CLI argument. You simply pass either of these to the -k flag — one flag
|
223
|
+
that works for all source types. 2) By utilizing OS-X Keychain on a Mac, Sym offers
|
224
|
+
truly secure way of storing the key on a local machine, much more secure then storing
|
225
|
+
it on a file system, 3) By using a local password cache (activated with -c) via
|
226
|
+
an in-memory provider such as memcached or drb, sym invocations take advantage of
|
227
|
+
password cache, and only ask for a password once per a configurable time period,
|
228
|
+
4) By using SYM_ARGS environment variable, where common flags can be saved. This
|
229
|
+
is activated with sym -A, 5) By reading the key from the default key source file
|
230
|
+
~/.sym.key which requires no flags at all, 6) By utilizing the --negate option to
|
231
|
+
quickly encrypt a regular file, or decrypt an encrypted file with extension .enc
|
232
|
+
7) By implementing the -t (edit) mode, that opens an encrypted file in your $EDITOR,
|
233
|
+
and replaces the encrypted version upon save & exit, optionally creating a backup.
|
234
|
+
8) By offering the Sym::MagicFile ruby API to easily read encrypted files into memory.\n"
|
237
235
|
email:
|
238
236
|
- kigster@gmail.com
|
239
237
|
executables:
|
@@ -323,7 +321,7 @@ post_install_message: "\nThank you for installing Sym! \n\nBLOG POST\n=========\
|
|
323
321
|
\nspecified in arguments to -B/--bash-support flag.\n\n sym -B ~/.bash_profile\n
|
324
322
|
\ source ~/.bash_profile\n \nThank you for using Sym and happy crypting :)\n\nFor
|
325
323
|
bonus points, run 'symit -h' after installing and loading bash\ncompletion.\n\n@kigster
|
326
|
-
on Github, @kig on Twitter.\n\n"
|
324
|
+
on Github, \n @kig on Twitter.\n\n"
|
327
325
|
rdoc_options: []
|
328
326
|
require_paths:
|
329
327
|
- lib
|