serenity-kit / opaque

Secure password based client-server authentication without the server ever obtaining knowledge of the password. Implementation of the OPAQUE protocol.
https://opaque-auth.com
MIT License
45 stars 5 forks source link

Fix generated TS type for "passwordFile" in ServerLoginStartParams #35

Closed steos closed 1 year ago

steos commented 1 year ago

We need to override the type because the property should be required but allow null and undefined as value. This is not possible with the #tsify(optional) attribute.