标签: encryption
例如,我添加
SOME_COMMON_API_SECRET=xxxxxxxxxxxx
带有提交消息added key for some common api的加密env var文件(例如sha-2系列)。
added key for some common api
这意味着熟悉我所使用框架的任何人都知道秘密将存储在env var SOME_COMMON_API_SECRET中。
SOME_COMMON_API_SECRET
现在秘密文件变得更容易暴力了吗?够了吗?攻击者还会知道xxxxxxxxxxxx的长度。
xxxxxxxxxxxx