Categories: Encryption [Edit]
sym
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
workflow.
For additional security the private key itself can be encrypted with a
user-generated password. For decryption using the key the password can be
input into STDIN, or be defined by an ENV variable, or an OS-X Keychain Entry.
Unlike many other existing encryption tools, Sym focuses on getting out of
your way by offering a streamlined interface with password caching (if
MemCached is installed and running locally) in hopes to make encryption of
application secrets nearly completely transparent to the developers.
Sym uses symmetric 256-bit key encryption 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.
Sym accomplishes encryption transparency by combining several convenient features:
1. Sym can read the private key from multiple source types, such as pathname,
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, 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 ...
Total
Ranking: 7,376 of 183,471
Downloads: 454,710
Daily
Ranking: 4,387 of 183,459
Downloads: 398
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
28,858 | 41,981 | dnsmadeeasy |
Depends on
Rank | Downloads | Name |
---|---|---|
1 | 2,455,829,279 | bundler |
7 | 1,004,387,434 | activesupport |
10 | 968,905,115 | rake |
25 | 824,998,340 | rspec |
62 | 484,810,129 | rubocop |
98 | 353,709,953 | simplecov |
151 | 248,530,667 | highline |
196 | 187,741,373 | rubocop-rspec |
221 | 161,985,424 | colored2 |
224 | 160,920,099 | yard |
262 | 141,511,775 | slop |
358 | 103,138,518 | dalli |
435 | 84,236,223 | rspec-its |
926 | 41,920,418 | asciidoctor |
1,382 | 22,521,228 | codecov |
1,518 | 18,951,704 | rubocop-rake |
2,805 | 4,702,296 | relaxed-rubocop |
2,857 | 4,522,967 | aruba |
7,144 | 486,728 | irbtools |
Owners
# | Gravatar | Handle |
---|---|---|
1 | kigster |