MetaMask / MetaMask/browser-passworder

Store key derivation function used and iteration count in payload

Open
#1 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
126
Forks
44
PR merge metrics
No merged PRs in 30d

Description

The KDF used and iteration count should be included in the payload returned from `encrypt` to facilitate upgrades over time. This makes it possible to change the work factor or the algorithm used without breaking backward compatibility.

Library users should be encouraged to upgrade encrypted ciphertexts from time to time to take advantage of this too.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the library's encrypt entry point and trace how the returned payload is structured and how decrypt reads it. Determine how to record the KDF and iteration count while retaining backward compatibility, and verify that the documented upgrade path for older ciphertexts is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.