cedarcode / cose-ruby

Ruby implementation of RFC 8152 CBOR Object Signing and Encryption (COSE)
https://rubygems.org/gems/cose
MIT License
15 stars 10 forks source link

refactor: don't leave algorithm implementation knowledge out of algorithms #47

Closed grzuy closed 5 years ago

grzuy commented 5 years ago

Algorithms were built so that they know about the metadata of the alg (id, name, etc), but not aware of the actual alg implementation.

This removes the verifiers and move the alg implementation inside algorithms.