Skip to content

Plausible deniability only works for extended keypairs? #91

@rkreutz

Description

@rkreutz

Hey @bitgamma

I was having a look at the plausible deniability PR and was wondering if the duress PIN actually worked as the main PIN in case the key pair is not an extended one?

From what I could understand from the codebase, the derived private key only difference between the alt and the main key is the chain code, where the alt chain code is a SHA256 digest of the main chain code, but this is only set if the main key is an extended one, so in case the card was loaded with a plain private key (that doesn't support derivation) would that mean that the duress PIN is effectively signing with the main PIN private key?

Thanks

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