From 04063a25033f3ab601411eccf517e39da53f59dd Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 27 Dec 2025 20:53:03 -0600 Subject: [PATCH] Add Technical_Decomp_SopsUtil --- Technical_Decomp_SopsUtil.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Technical_Decomp_SopsUtil.md 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