Add Technical_Decomp_SopsUtil
parent
7a1e120365
commit
04063a2503
1 changed files with 15 additions and 0 deletions
15
Technical_Decomp_SopsUtil.md
Normal file
15
Technical_Decomp_SopsUtil.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
## enroll/sopsutil.py
|
||||
|
||||
### SopsError (exception class)
|
||||
|
||||
#### Purpose: a specific exception type for SOPS-related failures.
|
||||
|
||||
#### Behavior:
|
||||
|
||||
- Subclasses RuntimeError but adds no extra fields/methods.
|
||||
- Used so the CLI can catch it and print a clean error: ... message.
|
||||
|
||||
#### Raised when:
|
||||
- sops is not present on PATH but required
|
||||
- encryption/decryption subprocess fails
|
||||
- missing/empty GPG fingerprint list
|
||||
Loading…
Add table
Add a link
Reference in a new issue