Closed as not planned
Description
Currently the scalar zero is not allowed to be a SecretKey
and the identity point is not allowed to be a PublicKey
. This makes sense not only because the specification doesn't allow it, but because any algorithm/protocol would not work correctly.
However, SecretKey
is allowed to be 1, which generates a PublicKey
which is the generator point. It might be reasonable to restrict those values as well.
This would make interacting with NonZeroScalar
and NonIdentity
difficult and would at least partly invalidate their functionality, unless they also don't allow these values.
As discussed in #1832.
Metadata
Metadata
Assignees
Labels
No labels