Skip to content

Wallet Storage encryption key derivation uses insufficient entropy #2

Description

@RorschachRev

The current implementation in applications/qnet-wallet/src/quantum/dilithium-manager.ts derives the AES key from navigator.userAgent + '_qnet_storage_v1'. This is against all recommended cryptography methods.

Suggestion: Use PBKDF2, Argon2, or scrypt with a proper password/PIN input

Without any change, the encryption is worse than a single stored symmetric. Low entropy passwords and AES keys are frequently attacked through dictionary lists and rainbow tables. "1234" is definitely on the dictionary list.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions