roqs 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +11 -0
- data/lib/roqs/sig.rb +6 -0
- data/lib/roqs/version.rb +1 -1
- data/lib/roqs/wrapper.rb +2 -0
- data/native/linux/x86_64/liboqs.so.0.10.0 +0 -0
- data/native/macos/.DS_Store +0 -0
- data/native/macos/arm64/liboqs.0.10.0.dylib +0 -0
- metadata +10 -9
- data/native/linux/x86_64/liboqs.so.0.9.0 +0 -0
- data/native/macos/x86_64/liboqs.0.7.0.dylib +0 -0
- data/native/windows/x64/liboqs.dll +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8809ffb9f3a72a112d288523aa831f4105281f896ba086352ef28f78a3b0e4f7
|
4
|
+
data.tar.gz: 0bb0dbb17f690fde9fb5f373bb80f16ae5940345e27c5d9e63b91116f2756dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22885f02b93a848cbc2540717873f1cae4442768428e0bdacfce7dcd33c9f589edbcc6088f7ffe1560f9e7af06fef4c0fa6f5ab2380b87730a77a8ca5a934741
|
7
|
+
data.tar.gz: 8c22d2469d8159f502b807f98c360b386419944596e082b757bd18df779ce7084d5acce6ea074f1d81d4876a171e6c279bedac535204af9e90910c1e5ab784d7
|
data/Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
|
2
|
+
FROM --platform=linux/x86_64 ubuntu:jammy
|
3
|
+
|
4
|
+
RUN apt-get update && apt-get install -y git curl build-essential software-properties-common gnupg2
|
5
|
+
|
6
|
+
RUN apt-add-repository -y ppa:rael-gc/rvm && apt-get update && apt-get install -y rvm
|
7
|
+
RUN /bin/bash -l -c ". /usr/share/rvm/scripts/rvm && rvm install ruby-3.2.1"
|
8
|
+
|
9
|
+
WORKDIR /opt
|
10
|
+
|
11
|
+
CMD ["/bin/bash","--login"]
|
data/lib/roqs/sig.rb
CHANGED
@@ -67,6 +67,7 @@ module Roqs
|
|
67
67
|
|
68
68
|
rv = SIGWrapper.OQS_SIG_verify(@struct, pMessage, message.length, pSignature, signature.length, pubKey)
|
69
69
|
|
70
|
+
logger.debug "Verify result : #{rv}"
|
70
71
|
rv == Roqs::OQS_SUCCESS
|
71
72
|
|
72
73
|
end
|
@@ -94,6 +95,11 @@ module Roqs
|
|
94
95
|
|
95
96
|
end
|
96
97
|
|
98
|
+
private
|
99
|
+
def logger
|
100
|
+
Roqs.logger(:sig)
|
101
|
+
end
|
102
|
+
|
97
103
|
end
|
98
104
|
|
99
105
|
end
|
data/lib/roqs/version.rb
CHANGED
data/lib/roqs/wrapper.rb
CHANGED
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: teLogger
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".rspec"
|
63
63
|
- ".rubocop.yml"
|
64
|
+
- Dockerfile
|
64
65
|
- README.md
|
65
66
|
- Rakefile
|
66
67
|
- TEST-RESULT.md
|
@@ -74,14 +75,14 @@ files:
|
|
74
75
|
- lib/roqs/struct.rb
|
75
76
|
- lib/roqs/version.rb
|
76
77
|
- lib/roqs/wrapper.rb
|
77
|
-
- native/linux/x86_64/liboqs.so.0.
|
78
|
-
- native/macos
|
79
|
-
- native/
|
78
|
+
- native/linux/x86_64/liboqs.so.0.10.0
|
79
|
+
- native/macos/.DS_Store
|
80
|
+
- native/macos/arm64/liboqs.0.10.0.dylib
|
80
81
|
- sig/roqs.rbs
|
81
82
|
homepage: ''
|
82
83
|
licenses: []
|
83
84
|
metadata: {}
|
84
|
-
post_install_message:
|
85
|
+
post_install_message:
|
85
86
|
rdoc_options: []
|
86
87
|
require_paths:
|
87
88
|
- lib
|
@@ -96,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
97
|
- !ruby/object:Gem::Version
|
97
98
|
version: '0'
|
98
99
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
100
|
+
rubygems_version: 3.5.1
|
101
|
+
signing_key:
|
101
102
|
specification_version: 4
|
102
103
|
summary: ''
|
103
104
|
test_files: []
|
Binary file
|
Binary file
|
Binary file
|