Onbekend COSE-algoritme aangetroffen. alg: -257

This is a limitation of cose-ruby library we use as @sam pointed out. It supports only these algorithms:

According to the error message, that security key is using algorithm “-257” which stands for RS256 and is not recommended. That is probably the reason why the library does not implement it.

What device are you trying to use for authentication?