Login
You're viewing the code4lib.social public feed.
  • Aug 20, 2025, 4:07 AM

    I find myself wondering about an all too familiar thing; how to store credentials securely such that a process can access them to authenticate to something else.

    Is there any effective difference in storing the credentials an encoded — but not encrypted — form vs an encrypted form?

    Especially considering that the process on the system must be able to get to the credentials without any external input?

    How much effective difference is there in base64 vs gpg vs ${YOUR_PREFERRED_ENCRYPTED_COMMAND} presuming that the user has access to all necessary decoding / decrypting (keying) material?

    I feel like short of a TPM, and maybe even then, it’s a matter of how much obfuscation is in play.

    IMHO the TPM effectively means that the keying material is physically tied to the local system. But commands / processes can still get to the decrypted material.

    💬 0🔄 0⭐ 0