Skip to content

Commit

Permalink
chore: oppdater sops til å kun endre på hvordan man kan bruke gcp tok…
Browse files Browse the repository at this point in the history
…ens for å gjøre forskjellen så liten som mulig
  • Loading branch information
marensofier committed Aug 7, 2024
1 parent d4ac2a5 commit e20a53d
Show file tree
Hide file tree
Showing 54 changed files with 8,985 additions and 197 deletions.
33 changes: 33 additions & 0 deletions cmd/cmd/sops/codes/codes.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Package codes the exit statuses returned by the sops binary
package codes

// Exit statuses returned by the binary
const (
ErrorGeneric int = 1
CouldNotReadInputFile int = 2
CouldNotWriteOutputFile int = 3
ErrorDumpingTree int = 4
ErrorReadingConfig int = 5
ErrorInvalidKMSEncryptionContextFormat int = 6
ErrorInvalidSetFormat int = 7
ErrorConflictingParameters int = 8
ErrorEncryptingMac int = 21
ErrorEncryptingTree int = 23
ErrorDecryptingMac int = 24
ErrorDecryptingTree int = 25
CannotChangeKeysFromNonExistentFile int = 49
MacMismatch int = 51
MacNotFound int = 52
ConfigFileNotFound int = 61
KeyboardInterrupt int = 85
InvalidTreePathFormat int = 91
NeedAtLeastOneDocument int = 92
NoFileSpecified int = 100
CouldNotRetrieveKey int = 128
NoEncryptionKeyFound int = 111
DuplicateDecryptionKeyType int = 112
FileHasNotBeenModified int = 200
NoEditorFound int = 201
FailedToCompareVersions int = 202
FileAlreadyEncrypted int = 203
)
Loading

0 comments on commit e20a53d

Please sign in to comment.