rnp 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +12 -0
- data/.rspec +2 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +26 -0
- data/README.adoc +208 -0
- data/Rakefile +6 -0
- data/Use_Cases.adoc +119 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/example-usage.rb +766 -0
- data/examples/highlevel/decrypt_mem.rb +44 -0
- data/examples/highlevel/encrypt_mem.rb +46 -0
- data/examples/lowlevel/decrypt_file.rb +76 -0
- data/examples/lowlevel/decrypt_mem.rb +80 -0
- data/examples/lowlevel/encrypt_file.rb +68 -0
- data/examples/lowlevel/encrypt_mem.rb +75 -0
- data/examples/lowlevel/load_pubkey.rb +118 -0
- data/examples/lowlevel/print_keyring_file.rb +68 -0
- data/examples/lowlevel/print_keyring_mem.rb +96 -0
- data/examples/lowlevel/sign_file.rb +104 -0
- data/examples/lowlevel/sign_mem.rb +96 -0
- data/examples/lowlevel/verify_file.rb +55 -0
- data/examples/lowlevel/verify_mem.rb +61 -0
- data/lib/rnp/highlevel/constants.rb +96 -0
- data/lib/rnp/highlevel/keyring.rb +259 -0
- data/lib/rnp/highlevel/publickey.rb +150 -0
- data/lib/rnp/highlevel/secretkey.rb +318 -0
- data/lib/rnp/highlevel/utils.rb +119 -0
- data/lib/rnp/highlevel.rb +5 -0
- data/lib/rnp/lowlevel/constants.rb +11 -0
- data/lib/rnp/lowlevel/dynarray.rb +129 -0
- data/lib/rnp/lowlevel/enums.rb +243 -0
- data/lib/rnp/lowlevel/libc.rb +28 -0
- data/lib/rnp/lowlevel/libopenssl.rb +15 -0
- data/lib/rnp/lowlevel/librnp.rb +213 -0
- data/lib/rnp/lowlevel/structs.rb +541 -0
- data/lib/rnp/lowlevel/utils.rb +25 -0
- data/lib/rnp/lowlevel.rb +6 -0
- data/lib/rnp/version.rb +3 -0
- data/lib/rnp.rb +5 -0
- data/rnp/lib/rnp.rb +5 -0
- data/rnp/spec/rnp_spec.rb +11 -0
- data/rnp.gemspec +35 -0
- metadata +82 -9
metadata
CHANGED
@@ -1,36 +1,109 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rnp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
12
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.14'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.14'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rspec
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
|
-
- -
|
45
|
+
- - "~>"
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.5
|
47
|
+
version: '3.5'
|
20
48
|
type: :development
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
|
-
- -
|
52
|
+
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.5
|
54
|
+
version: '3.5'
|
27
55
|
description: Support rnp's OpenPGP functionality via ruby-ffi. Requires librnp.so.
|
28
56
|
email:
|
29
|
-
-
|
57
|
+
- open.source@ribose.com
|
30
58
|
executables: []
|
31
59
|
extensions: []
|
32
60
|
extra_rdoc_files: []
|
33
|
-
files:
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".travis.yml"
|
65
|
+
- CODE_OF_CONDUCT.md
|
66
|
+
- Gemfile
|
67
|
+
- Gemfile.lock
|
68
|
+
- README.adoc
|
69
|
+
- Rakefile
|
70
|
+
- Use_Cases.adoc
|
71
|
+
- bin/console
|
72
|
+
- bin/setup
|
73
|
+
- example-usage.rb
|
74
|
+
- examples/highlevel/decrypt_mem.rb
|
75
|
+
- examples/highlevel/encrypt_mem.rb
|
76
|
+
- examples/lowlevel/decrypt_file.rb
|
77
|
+
- examples/lowlevel/decrypt_mem.rb
|
78
|
+
- examples/lowlevel/encrypt_file.rb
|
79
|
+
- examples/lowlevel/encrypt_mem.rb
|
80
|
+
- examples/lowlevel/load_pubkey.rb
|
81
|
+
- examples/lowlevel/print_keyring_file.rb
|
82
|
+
- examples/lowlevel/print_keyring_mem.rb
|
83
|
+
- examples/lowlevel/sign_file.rb
|
84
|
+
- examples/lowlevel/sign_mem.rb
|
85
|
+
- examples/lowlevel/verify_file.rb
|
86
|
+
- examples/lowlevel/verify_mem.rb
|
87
|
+
- lib/rnp.rb
|
88
|
+
- lib/rnp/highlevel.rb
|
89
|
+
- lib/rnp/highlevel/constants.rb
|
90
|
+
- lib/rnp/highlevel/keyring.rb
|
91
|
+
- lib/rnp/highlevel/publickey.rb
|
92
|
+
- lib/rnp/highlevel/secretkey.rb
|
93
|
+
- lib/rnp/highlevel/utils.rb
|
94
|
+
- lib/rnp/lowlevel.rb
|
95
|
+
- lib/rnp/lowlevel/constants.rb
|
96
|
+
- lib/rnp/lowlevel/dynarray.rb
|
97
|
+
- lib/rnp/lowlevel/enums.rb
|
98
|
+
- lib/rnp/lowlevel/libc.rb
|
99
|
+
- lib/rnp/lowlevel/libopenssl.rb
|
100
|
+
- lib/rnp/lowlevel/librnp.rb
|
101
|
+
- lib/rnp/lowlevel/structs.rb
|
102
|
+
- lib/rnp/lowlevel/utils.rb
|
103
|
+
- lib/rnp/version.rb
|
104
|
+
- rnp.gemspec
|
105
|
+
- rnp/lib/rnp.rb
|
106
|
+
- rnp/spec/rnp_spec.rb
|
34
107
|
homepage: https://www.ribose.com
|
35
108
|
licenses: []
|
36
109
|
metadata: {}
|
@@ -53,5 +126,5 @@ rubyforge_project:
|
|
53
126
|
rubygems_version: 2.5.2
|
54
127
|
signing_key:
|
55
128
|
specification_version: 4
|
56
|
-
summary:
|
129
|
+
summary: Ruby bindings for the rnp OpenPGP library
|
57
130
|
test_files: []
|