schmax

Results 12 comments of schmax

One big difference is that https://github.com/lionfish0/earclip. defines epsilon as 0.0000001 which is far higher than the value in tripy. Setting epsilon to higher value also in tripy seems to work...

Hi @JsBergbau, I run into the same issue. Seems the cose library was reorganized with new version. So with new cose library you should include P256 like this: `from cose.keys.curves...

What error do you get? Well, it is clear that this script will and shall not generate valid certificates. These are test certificates with test values and a non accepted...

Great. Thank you very much @Res260 . So I did not read version 2 carefully enough :-) But I would still recommend to have a not-equal modifier like 'ne' as...

Hi, this was not relevant for my tests. However, the keyid should consist of the first 8 hex values of SHA256 of the certificate of the signing key you use....

Well, my understandig is that the algorithm above or used for the key in the code did use ECDS with prime2561. (openssl ecparam -name prime256v1 -genkey -noout -out sign.key)

Seems you are missing / at end of these lines (refer to my key in the code). Or you put all together in one single long line string between b'......'

You are now missing begin and end of certificate statements. Do do it exactly the way as in my example and it should work. Don't forget the / after each...

Ok. Same error with your key. Actually it seems a bit short. Are you sure you did not miss a part? Which command did you use for key generation?