xstream 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.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +4 -0
- data/.rubocop.yml +31 -0
- data/Gemfile +11 -0
- data/README.md +28 -0
- data/Rakefile +11 -0
- data/lib/xstream.rb +5 -0
- data/lib/xstream/version.rb +3 -0
- data/xstream.gemspec +24 -0
- metadata +69 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 32fee938822c8a5a7cd5ebd651b2b16f42081dbe
|
4
|
+
data.tar.gz: 983432526edf0a8880096b26f7f81df759552aa9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: de13fd1f52f3545c8f8def6ac917ff59a330d290c11102aeddee2f82654993815f5786399692199975be279c27a53b0be791e8499d47bc3a3993483c8f0e1a9a
|
7
|
+
data.tar.gz: 59efd6a0f5b2ce2ffad2f2be16e41ec3f0d9067e9e5a5f997f0994c428c23992ac13ea2054c6064744c7df02a12e4b72a5a4327a8080aa3a0c038145a1abe64f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# Style
|
6
|
+
#
|
7
|
+
|
8
|
+
Style/StringLiterals:
|
9
|
+
EnforcedStyle: double_quotes
|
10
|
+
|
11
|
+
#
|
12
|
+
# Metrics
|
13
|
+
#
|
14
|
+
|
15
|
+
Metrics/AbcSize:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Metrics/CyclomaticComplexity:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
Metrics/PerceivedComplexity:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Metrics/ClassLength:
|
25
|
+
Max: 100
|
26
|
+
|
27
|
+
Metrics/LineLength:
|
28
|
+
Max: 128
|
29
|
+
|
30
|
+
Metrics/MethodLength:
|
31
|
+
Max: 25
|
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# xstream.rb
|
2
|
+
|
3
|
+
Public key encryption system combining X25519 Diffie-Hellman with the STREAM construction
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "xstream"
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install xstream
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO: Write usage instructions here
|
24
|
+
|
25
|
+
## Contributing
|
26
|
+
|
27
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/miscreant/xstream.
|
28
|
+
|
data/Rakefile
ADDED
data/lib/xstream.rb
ADDED
data/xstream.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require File.expand_path("lib/xstream/version", __dir__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "xstream"
|
7
|
+
spec.version = XStream::VERSION
|
8
|
+
spec.authors = ["Tony Arcieri"]
|
9
|
+
spec.email = ["bascule@gmail.com"]
|
10
|
+
spec.homepage = "https://github.com/miscreant/xstream/"
|
11
|
+
spec.summary = "Public key encryption system combining X25519 Diffie-Hellman with the STREAM construction"
|
12
|
+
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
|
13
|
+
XSTREAM combines the X25519 Elliptic Curve Diffie-Hellman function"
|
14
|
+
"with HKDF and the STREAM construction for streaming authenticated"
|
15
|
+
"encryption. The result is an easy-to-use public key cryptosystem.
|
16
|
+
DESCRIPTION
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.required_ruby_version = ">= 2.2.2"
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: xstream
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tony Arcieri
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-12-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.16'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.16'
|
27
|
+
description: XSTREAM combines the X25519 Elliptic Curve Diffie-Hellman function" "with
|
28
|
+
HKDF and the STREAM construction for streaming authenticated" "encryption. The result
|
29
|
+
is an easy-to-use public key cryptosystem.
|
30
|
+
email:
|
31
|
+
- bascule@gmail.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- ".gitignore"
|
37
|
+
- ".rspec"
|
38
|
+
- ".rubocop.yml"
|
39
|
+
- Gemfile
|
40
|
+
- README.md
|
41
|
+
- Rakefile
|
42
|
+
- lib/xstream.rb
|
43
|
+
- lib/xstream/version.rb
|
44
|
+
- xstream.gemspec
|
45
|
+
homepage: https://github.com/miscreant/xstream/
|
46
|
+
licenses: []
|
47
|
+
metadata: {}
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options: []
|
50
|
+
require_paths:
|
51
|
+
- lib
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.2.2
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
requirements: []
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 2.6.13
|
65
|
+
signing_key:
|
66
|
+
specification_version: 4
|
67
|
+
summary: Public key encryption system combining X25519 Diffie-Hellman with the STREAM
|
68
|
+
construction
|
69
|
+
test_files: []
|