cose-key 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/cose/key.rb +8 -0
- data/spec/cose/key_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c399bef4e84efa44f1dd0dd9b9b66880e21d96cbd5bf0e30e7cc8442024584b0
|
4
|
+
data.tar.gz: 940db110f7cf0aa53e80144055cd37bf588c49c2265185a95daab724cf73cbbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb61d465aed76f23ef27476acecb3f11a6ff58cff29519a31edb093437eb25aec46f849cb9fd760d40503e06218bff982dfc8f58a16d189775238fc8d6f17bd7
|
7
|
+
data.tar.gz: 36f7f72d396fd73fee8cc8f5e2c291d4ccca4ee9b57e348a2f07252203c0fda03d9d80be9954470cbf53d23ff204e076ca40cbd7399d7c2ab5144aaf69e8e935
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/cose/key.rb
CHANGED
data/spec/cose/key_spec.rb
CHANGED
@@ -10,10 +10,10 @@ RSpec.describe COSE::Key do
|
|
10
10
|
-----END PUBLIC KEY-----
|
11
11
|
PEM
|
12
12
|
end
|
13
|
+
let(:decoded) { COSE::Key.decode cbor }
|
13
14
|
|
14
15
|
context 'for EC keys' do
|
15
16
|
let(:cbor) { ec2_cbor }
|
16
|
-
let(:decoded) { COSE::Key.decode cbor }
|
17
17
|
|
18
18
|
describe '.decode' do
|
19
19
|
subject { decoded }
|