Gonzalo R
Gonzalo R
I was also seeing this issue with last released version. No longer happening if I use `chruby` from master instead of `0.3.9`. I guess can be fixed if there's a...
> or for `CBOR.decode(input)` to always return the same exception when input is detected to be invalid CBOR? I guess already used `CBOR::MalformedFormatError` could be a possible candidate?
For what is worth, these are the occurrences... ``` {"EOFError"=>100332, "CBOR::MalformedFormatError"=>895855, "TypeError"=>3734, "URI::InvalidURIError"=>29, "FloatDomainError"=>1, "RegexpError"=>3} ``` Script: ```ruby require "cbor" require 'securerandom' errors = {} 1_000_000.times do |i| begin CBOR.decode(SecureRandom.random_bytes(64))...
> What is your motivation Hi @cabo, Just trying to understand what could be the best way to gracefully handle wrong/corrupt cbor data on at the application level when data...
I was hitting the same error with `ruby 2.x` Found that the root issue was i got gem [`debug_inspector`](https://github.com/banister/debug_inspector), which is a `binding_of_caller` dependency with a `C` extension, installed without...
> I stand corrected, Yubikeys have started shipping with EdDSA support around that time: https://www.yubico.com/blog/whats-new-in-yubikey-firmware-5-2-3/ Nice! Wasn't aware. > > I started poking at this in [cedarcode/cose-ruby#55](https://github.com/cedarcode/cose-ruby/pull/55) but we'll need...
> Also, separated the tests suites for `PublicKeyCredentialWithAttestation` (which was the one that was before, but named `PublicKeyCredential`) and `PublicKeyCredentialWithAssertion` so we can test this feature separately. Split off this...
> Using thread locals is the simplest implementation in this case I can think of. Yeah, it's a bit complex to implement this, as things are right now... I wonder...
Hi @itskingori , Thank you very much for sharing this with the community! Not sure we would want to bundle this with the library for now. But I think this...
Hi @jiang925 , Thank you very much for the contribution! On the one hand this seems like an interesting feature, while on the other I have concerns about whether this...