etesync / etesync-dav

This is a CalDAV and CardDAV adapter for EteSync
https://www.etesync.com
GNU General Public License v3.0
290 stars 47 forks source link

cert-gen exception due to ca=False change #186

Closed AezNwBrZ6 closed 3 years ago

AezNwBrZ6 commented 3 years ago

Apologies! I believe it's caused by a bug I introduced in https://github.com/etesync/etesync-dav/issues/181

etesync-dav cert-gen dusage: radicale [OPTIONS] etesync-dav: error: unrecognized arguments: cert-gen

basic_contraints = x509.BasicConstraints(ca=False, path_length=0) is incorrect. I believe path_length=None or perhaps the argument should be entirely omitted depending the library you're using

I believe this is the reason for the exception and I will regenerate cert to check once a new build is released. Again, apologies!

tasn commented 3 years ago

It's etesync-dav certgen without the dash. Does that still not work? What makes you think it was the change in #181?

tasn commented 3 years ago

Ah actually, I just tested it myself, and that part is indeed also wrong, fixing now!