Change passphrase - #269
Open
fflorent wants to merge 4 commits into
Open
Conversation
Collaborator
Author
|
!testme |
Contributor
Collaborator
Author
|
!trixietestme |
Contributor
Collaborator
Author
|
!bump |
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.


Problem
key change-passphrasecommand but also change the value in the settings and regenerate the.envfile).envfile. I tested that.Fixes #257
Fixes #237
Solution
Regarding the modification of the passphrase:
borg key change-passphrasecommand and store its new value in the app settings and in the env file as wellBTW, it looks like the check for common passwords works out of the box, which is a great feature 😍
https://github.com/YunoHost/yunohost/blob/622991f4a559caee626f2d14567883ef52fc6364/src/utils/form.py#L871
But unfortunately, it is not possible to change the passphrase through the cli:
About the blank space
Also remove the mention in the manifest regarding the blank spaces.
If I am correct, it is not necessary anymore:
And if you try to enter the passphrase manually:
PR Status
Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)