Skip to content

JNI binding potential memory issue #608

@ghost

Description

https://github.com/bitcoin-core/secp256k1/blob/master/src/java/org/bitcoin/NativeSecp256k1.java#L87

when passing the secret key the bytebuffer is never cleared and replaced with zeros. the secret key could potentially be in memory. during that time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions