Sign document error: Index was out of range

That I don’t know. Does your code look at key usage at all?

@zboros

Actually I quoted your message. And this scenario is still under investigation.