-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix order in which fingerprints are evaluated (#415)
* Fix order in which fingerprints are evaluated this needs to be done on the key generated from the provider, not at the start * need to base32 encode instead of base64 * fix when .keyid doesn't exist * fix error handling --------- Co-authored-by: Lukasz Zajaczkowski <zreigz@gmail.com>
- Loading branch information
1 parent
0ba4a99
commit 885ff98
Showing
5 changed files
with
35 additions
and
25 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package crypto | ||
|
||
import "fmt" | ||
|
||
var ( | ||
errFingerprint = fmt.Errorf("The fingerprint of your encryption key does not match this repos key, we cannot safely decrypt") | ||
) |
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