-
-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax config checks when loading (#1797)
To improve compatibility of gopass integrations with gopass itself and to simplify the upgrade path this PR relaxes config parsing a bit. It introduces a final attempt where the current config struct is attempted without the overflow check. Thus it will allow loading configs with either missing or extra keys. This should allow most forward compatibility cases. However this might lead us to accepts truly invalid configs. RELEASE_NOTES=n/a
- Loading branch information
1 parent
2b24db6
commit f76ddb0
Showing
3 changed files
with
77 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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