google / google/fscrypt

[Feature] Automatically re-use recovery protector when re-using login protector

Open
#252 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
1k
Forks
111
Avg merge
2d 19h
Merged PRs (30d)
3

Description

Encrypting a new directory with a new v2 policy re-uses the login protector. However, it does not re-use the recovery protector, but creates a new one (Y/n). User ends up with multiple directories with the same login protector but different recovery protectors.

After offering to create a recovery protector (recommended), perhaps `fscrypt` can ask if the user would like to re-use [list all keys with "Recovery" in the description] or create a new one.

Or detect what recovery protector is used by another policy that uses the login protector.

In the end it makes sense for the user to have the same recovery passphrase for directories that use the same login protector.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.