sixword 0.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.
- data/.gitignore +5 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +676 -0
- data/README.md +57 -0
- data/Rakefile +1 -0
- data/lib/sixword.rb +164 -0
- data/lib/sixword/version.rb +3 -0
- data/lib/sixword/words.rb +266 -0
- data/sixword.gemspec +32 -0
- metadata +94 -0
data/sixword.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'sixword/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'sixword'
|
8
|
+
spec.version = Sixword::VERSION
|
9
|
+
spec.authors = ['Andy Brody']
|
10
|
+
spec.email = ['abrody@abrody.com']
|
11
|
+
spec.summary = 'Implementation of RFC 2289 compatible 6-word encoding'
|
12
|
+
spec.description = <<-EOM
|
13
|
+
Sixword implements the 6-word binary encoding created for S/Key (tm) and
|
14
|
+
standardized by RFC 2289, RFC 1760, and RFC 1751. Binary data may be
|
15
|
+
encoded using a dictionary of 2048 English words of 1-4 characters in
|
16
|
+
length. Each block of 64 bits is encoded using 6 words, which includes 2
|
17
|
+
parity bits. It is ideal for transmitting binary data such as cryptographic
|
18
|
+
keys where humans must communicate or enter the values.
|
19
|
+
|
20
|
+
See also: Bubble Babble, PGP Word List, Diceware, Base64, Base32
|
21
|
+
EOM
|
22
|
+
spec.homepage = 'https://github.com/ab/sixword'
|
23
|
+
spec.license = 'GPL-3'
|
24
|
+
|
25
|
+
spec.files = `git ls-files`.split($/)
|
26
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
27
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
28
|
+
spec.require_paths = ['lib']
|
29
|
+
|
30
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
31
|
+
spec.add_development_dependency 'rake'
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sixword
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Andy Brody
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: rake
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
description: ! " Sixword implements the 6-word binary encoding created for S/Key
|
47
|
+
(tm) and\n standardized by RFC 2289, RFC 1760, and RFC 1751. Binary data may
|
48
|
+
be\n encoded using a dictionary of 2048 English words of 1-4 characters in\n
|
49
|
+
\ length. Each block of 64 bits is encoded using 6 words, which includes 2\n parity
|
50
|
+
bits. It is ideal for transmitting binary data such as cryptographic\n keys where
|
51
|
+
humans must communicate or enter the values.\n\n See also: Bubble Babble, PGP
|
52
|
+
Word List, Diceware, Base64, Base32\n"
|
53
|
+
email:
|
54
|
+
- abrody@abrody.com
|
55
|
+
executables: []
|
56
|
+
extensions: []
|
57
|
+
extra_rdoc_files: []
|
58
|
+
files:
|
59
|
+
- .gitignore
|
60
|
+
- Gemfile
|
61
|
+
- LICENSE.txt
|
62
|
+
- README.md
|
63
|
+
- Rakefile
|
64
|
+
- lib/sixword.rb
|
65
|
+
- lib/sixword/version.rb
|
66
|
+
- lib/sixword/words.rb
|
67
|
+
- sixword.gemspec
|
68
|
+
homepage: https://github.com/ab/sixword
|
69
|
+
licenses:
|
70
|
+
- GPL-3
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options: []
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
requirements: []
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 1.8.23
|
90
|
+
signing_key:
|
91
|
+
specification_version: 3
|
92
|
+
summary: Implementation of RFC 2289 compatible 6-word encoding
|
93
|
+
test_files: []
|
94
|
+
has_rdoc:
|