Request for comments: Allow more than one encrypted master key#760
Open
aanno wants to merge 25 commits intorfjakob:masterfrom
Open
Request for comments: Allow more than one encrypted master key#760aanno wants to merge 25 commits intorfjakob:masterfrom
aanno wants to merge 25 commits intorfjakob:masterfrom
Conversation
Owner
|
Hi, thanks for the PR! I understand the need, but I am afraid of the complexity and the format change. Maybe this could be done by having multiple copies of gocryptfs.conf ? Like, gocryptfs.user1.conf etc. This would work already today using the |
|
This does work already. The only UX improvement I would recommend is prompting the user for the masterkey (to recreate the config file) instead of accepting it on stdin - as to not expose the masterkey to buffer and history. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
I've hacked a fix to #748. This is not ready for merge. But before putting more work into this, I need some feedback.
So long,
gocryptfsonly allows one instance of the encrypted master key. (Decryption could be done with a passphrase or by using a (modern) FIDO2 device.)I hacked the
gocryptfs.confconfiguration format from v2 to v3. The new format supports (a) several instances of the encrypted master key and (b) several instances of the FIDO2 device details. v2 could be easily converted to v3.Omissions:
Usage
Is that anything
gocryptfscould consider to merge when ready?Kind regards,
aanno