1 Technical_Decomp_SopsUtil
Miguel Jacq edited this page 2025-12-27 20:53:03 -06:00

enroll/sopsutil.py

SopsError (exception class)

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