backport of commit 9b3c38b3ed886f06cd945a3dfd34aa7d8f8817c1 (#18859)
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
This commit is contained in:
parent
497d91f4bc
commit
76b2360213
|
@ -6,6 +6,18 @@ description: The rsadecrypt function decrypts an RSA-encrypted message.
|
|||
|
||||
# `rsadecrypt` Function
|
||||
|
||||
<Note title="Deprecated">
|
||||
This function is deprecated and may be removed in the future.
|
||||
</Note>
|
||||
|
||||
<Warning>
|
||||
While it is possible to use safely, it encourages use of cryptographic
|
||||
primitives with <a href="https://en.wikipedia.org/wiki/PKCS_1#Attacks">known
|
||||
weaknesses</a>. <a href="/nomad/docs/concepts/variables">Nomad Variables</a>
|
||||
and <a href="/nomad/docs/integrations/vault-integration">HashiCorp Vault</a> are
|
||||
the recommended ways to provide secrets to workloads.
|
||||
</Warning>
|
||||
|
||||
`rsadecrypt` decrypts an RSA-encrypted ciphertext, returning the corresponding
|
||||
cleartext.
|
||||
|
||||
|
|
|
@ -1308,7 +1308,12 @@
|
|||
},
|
||||
{
|
||||
"title": "rsadecrypt",
|
||||
"path": "job-specification/hcl2/functions/crypto/rsadecrypt"
|
||||
"path": "job-specification/hcl2/functions/crypto/rsadecrypt",
|
||||
"badge": {
|
||||
"text": "Deprecated",
|
||||
"type": "outlined",
|
||||
"color": "neutral"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "sha1",
|
||||
|
|
Loading…
Reference in New Issue