diff --git a/Technical_Decomp_SopsUtil.md b/Technical_Decomp_SopsUtil.md new file mode 100644 index 0000000..6c1ffa1 --- /dev/null +++ b/Technical_Decomp_SopsUtil.md @@ -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 \ No newline at end of file