cryptography 0.0.0
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.
- data/README.md +36 -0
- data/cryptography.gemspec +17 -0
- metadata +46 -0
data/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# cryptography #
|
2
|
+
|
3
|
+
A Ruby library to provide abstractions for common use-cases of
|
4
|
+
cryptography.
|
5
|
+
|
6
|
+
## Description ##
|
7
|
+
|
8
|
+
Cryptography is hard. Really hard, and deceptively hard. There are a
|
9
|
+
million and one ways for a developer to screw up when implementing
|
10
|
+
cryptography, and non-cryptographers are exceedingly unlikely to get
|
11
|
+
it right.
|
12
|
+
|
13
|
+
Unfortunately, there's a common mentality in the developer community
|
14
|
+
that getting tiny details wrong doesn't matter, that it's still "good
|
15
|
+
enough" to defeat hackers, if not the NSA. This mentality is, frankly,
|
16
|
+
stupid and dangerous. Tiny flaws in implementation details almost
|
17
|
+
inevitably result in a *complete* breach of security: revealing the
|
18
|
+
contents of ciphertexts, allowing manipulation of the contents of
|
19
|
+
ciphertexts, forging signed messages, or discovering users'
|
20
|
+
passwords. Even weaknesses that seem tolerable can often be trivially
|
21
|
+
combined with non-cryptographic security weaknesses to accomplish the
|
22
|
+
same goals.
|
23
|
+
|
24
|
+
Despite this, there are relatively few high-level interfaces to hide
|
25
|
+
the details of cryptographic primitives and to automatically use safe
|
26
|
+
and secure defaults. This library strongly adopts the mentality that
|
27
|
+
[if you're typing the letters A-E-S into your code, you're doing it
|
28
|
+
wrong][a-e-s].
|
29
|
+
|
30
|
+
## Installation ##
|
31
|
+
|
32
|
+
```sh
|
33
|
+
$ gem install cryptography
|
34
|
+
```
|
35
|
+
|
36
|
+
[a-e-s]: http://chargen.matasano.com/chargen/2009/7/22/if-youre-typing-the-letters-a-e-s-into-your-code-youre-doing.html
|
@@ -0,0 +1,17 @@
|
|
1
|
+
Gem::Specification.new do |gem|
|
2
|
+
gem.name = 'cryptography'
|
3
|
+
gem.version = '0.0.0'
|
4
|
+
|
5
|
+
gem.author = 'Stephen Touset'
|
6
|
+
gem.email = 'stephen@touset.org'
|
7
|
+
|
8
|
+
gem.homepage = 'https://github.com/stouset/cryptography'
|
9
|
+
gem.summary = %{TBD}
|
10
|
+
gem.description = %{TBD}
|
11
|
+
|
12
|
+
gem.bindir = 'script'
|
13
|
+
gem.files = `git ls-files` .split("\n")
|
14
|
+
gem.extensions = `git ls-files -- ext/*.rb`.split("\n")
|
15
|
+
gem.executables = `git ls-files -- script/*`.split("\n").map {|e| e.delete('script/') }
|
16
|
+
gem.test_files = `git ls-files -- spec/*` .split("\n")
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cryptography
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Stephen Touset
|
9
|
+
autorequire:
|
10
|
+
bindir: script
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-01-17 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: TBD
|
15
|
+
email: stephen@touset.org
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- README.md
|
21
|
+
- cryptography.gemspec
|
22
|
+
homepage: https://github.com/stouset/cryptography
|
23
|
+
licenses: []
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - ! '>='
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
requirements: []
|
41
|
+
rubyforge_project:
|
42
|
+
rubygems_version: 1.8.23
|
43
|
+
signing_key:
|
44
|
+
specification_version: 3
|
45
|
+
summary: TBD
|
46
|
+
test_files: []
|