From ba0b261fd9b9380358ee01d83123d410a7a9988f Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Sun, 16 Oct 2022 15:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=907.2.5=E3=80=91=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=A7=98=E9=92=A5=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 1bc55dbd..6f8066cc 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -59,3 +59,11 @@ sso: openFlag: false sso-client-type: server +# 登录时,密码对称加密的秘钥 +# 可以用如下代码,从新生成秘钥对: +# RSA rsa = new RSA();rsa.getPublicKeyBase64();rsa.getPrivateKeyBase64(); +guns: + password: + rsa: + public-key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCochIaKWEh6IIK1pJQcJPsYhZ2AJmGNc12XeC2lsj3dHkMO9vGrXN4ZJiN3qNLlO3hERtY0UZdN8Uz18zoiL60XoOclMuuwf1TwiMA3/4Vy2NOaQdX/RgLQ8XiRobVPLMe/JTteZ6eoPrWVC5jf4kdWD7LWwgdWrnzGs/4UiWnsQIDAQAB + private-key: MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAKhyEhopYSHoggrWklBwk+xiFnYAmYY1zXZd4LaWyPd0eQw728atc3hkmI3eo0uU7eERG1jRRl03xTPXzOiIvrReg5yUy67B/VPCIwDf/hXLY05pB1f9GAtDxeJGhtU8sx78lO15np6g+tZULmN/iR1YPstbCB1aufMaz/hSJaexAgMBAAECgYB7SgK141OU3flQtXyiI8QhYCnQdN/pu7eGy2+ONQ8jD70Jl0ZlRM8fb4G5VRtwVrFF6p95grNdx1QvfeQczvnFF86mRaOOmrwT7k33B01Vb/Huvx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