Skip to content

Public key with 0 at beginning can't be handled by Nostr Console  #16

Open
@vishalxl

Description

If a private key generates a public that has 0's at the beginning, the application does not generate the correct signature or hash, with the result that such accounts can't really work with this application right now.

On sending a kind 1 post, this account's event will be invalid and will be rejected by relays.

On creating an encrypted room by such account, the application crashes.

An example private/public key pair is is c39a51b254c6d0ee022083c271afb4bba3e9ac8b004b7577200f31d6f44d96ef / 000006ed14c0337a42e434cf926252bc77b8788b58d78e8be43f416a43ea771a

originally reported by Sabah.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions