Skip to content

[nitpick] The secret is logged in browser memory (as secretHex) and never cleared. For security best practices, consider clearing sensitive data after use. While the secret is ephemeral for this registration flow, explicitly clearing it after the register transaction completes would be more secure. #25

@ScottyPoi

Description

@ScottyPoi

[nitpick] The secret is logged in browser memory (as secretHex) and never cleared. For security best practices, consider clearing sensitive data after use. While the secret is ephemeral for this registration flow, explicitly clearing it after the register transaction completes would be more secure.

Example:

// After line 219
secret.fill(0); // Clear the original secret bytes

Originally posted by @Copilot in #24 (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