You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This interface is used to apply to deactivate the currently used API Key (this can also be done in the Web Console). After the application is submitted, it will only take effect once a team administrator approves it in the Safeheron App. Once an API Key is deactivated, it will no longer be able to access any interfaces. For example, you can apply to deactivate an API Key in the following situations to protect your assets:
15
+
*
16
+
* The API Key is no longer in use and should be deactivated promptly to avoid risk;
17
+
* The API Key's private key is suspected of being leaked, and it needs to be deactivated immediately to ensure fund security;
18
+
* You receive an Illegal IP Request Event via Webhook and, after evaluation, need to deactivate the API Key (Event Type: ILLEGAL_IP_REQUEST);
19
+
* To resume using it, you can submit an activation request through the Web Console. This will also require approval from a team administrator before the API Key can be reactivated.
if (config.getSafeheronRsaPublicKey().contains("-----BEGIN PUBLIC KEY-----")) {
24
+
config.setSafeheronRsaPublicKey(config.getSafeheronRsaPublicKey().replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").replaceAll("\n", ""));
25
+
}
26
+
if (config.getRsaPrivateKey().contains("-----BEGIN PRIVATE KEY-----")) {
if (safeheronWebHookRsaPublicKey.contains("-----BEGIN PUBLIC KEY-----")) {
43
+
safeheronWebHookRsaPublicKey = safeheronWebHookRsaPublicKey.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").replaceAll("\n", "");
44
+
}
45
+
if (webHookRsaPrivateKey.contains("-----BEGIN PRIVATE KEY-----")) {
0 commit comments