how can my password contain special characters using jasypt and encrypt.sh?

徘徊边缘 提交于 2019-12-07 12:11:01

问题


Trying to use the encrypt.sh utility and my password has special characters:

./encrypt.sh input="$%#!" password="your_jasypt_password" algorithm="PBEWITHSHA256AND128BITAES-CBC-BC" keyObtentionIterations=1000 providerName="BC"

-bash: !": event not found


回答1:


Ok easy-- need to use single quotes instead of double quotes.



来源:https://stackoverflow.com/questions/26388928/how-can-my-password-contain-special-characters-using-jasypt-and-encrypt-sh

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!