2017-02-08 4 views
3

設定サーバーを使用して特殊文字を持つ値で暗号化しているときに問題が発生することはありますか?Spring Config Serverで "="記号を暗号化しています

現在、私はこの

curl http://localhost:8888/configser/config/encrypt -d eF345edo= 

をやっている私も、このhttps://github.com/spring-cloud/spring-cloud-config/issues/620を呼ばれ、

curl http://localhost:8888/configser/config/encrypt --data-urlencode eF345edo= 

しかし、それ'='記号を暗号化することでまだ成功、次のように試してみました。最終的な結果を得るために(特殊文字のTIPエリアを参照してください) http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_encryption_and_decryption

curlコマンド:最後には、事前

+0

おそらくあなたは[this](https://en.wikipedia.org/wiki/Base64#Output_Padding) –

答えて

5

おかげで私は、春の雲の設定の公式文書からの周りの仕事を得ました:

curl -H "Content-Type: text/plain" http://localhost:8888/configser/config/encrypt -d eF345edo= 

おかげ@Bond - 助けのためのJavaボンド

みんなありがとう。

関連する問題