Merge pull request #10962 from nandahkrishna/env-passphrase

extend/ENV: make 'passphrase' sensitive
This commit is contained in:
Mike McQuaid 2021-03-29 13:12:31 +01:00 committed by GitHub
commit 5e0b08dd01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ module EnvActivation
sig { params(key: T.any(String, Symbol)).returns(T::Boolean) }
def sensitive?(key)
key.match?(/(cookie|key|token|password)/i)
key.match?(/(cookie|key|token|password|passphrase)/i)
end
sig { returns(T::Hash[String, String]) }