mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Rename sandbox to staging environment
To match the upstream name
This commit is contained in:
parent
8a5f98dac6
commit
3587d1c397
7 changed files with 21 additions and 10 deletions
|
@ -74,10 +74,10 @@ public class ServiceConfig {
|
|||
LiveConfig.getUnidentifiedSenderTrustRoot(),
|
||||
LiveConfig.createKeyBackupConfig(),
|
||||
LiveConfig.getCdsMrenclave());
|
||||
case SANDBOX -> new ServiceEnvironmentConfig(SandboxConfig.createDefaultServiceConfiguration(interceptors),
|
||||
SandboxConfig.getUnidentifiedSenderTrustRoot(),
|
||||
SandboxConfig.createKeyBackupConfig(),
|
||||
SandboxConfig.getCdsMrenclave());
|
||||
case STAGING -> new ServiceEnvironmentConfig(StagingConfig.createDefaultServiceConfiguration(interceptors),
|
||||
StagingConfig.getUnidentifiedSenderTrustRoot(),
|
||||
StagingConfig.createKeyBackupConfig(),
|
||||
StagingConfig.getCdsMrenclave());
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,5 +2,5 @@ package org.asamk.signal.manager.config;
|
|||
|
||||
public enum ServiceEnvironment {
|
||||
LIVE,
|
||||
SANDBOX,
|
||||
STAGING,
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ import java.util.Map;
|
|||
import okhttp3.Dns;
|
||||
import okhttp3.Interceptor;
|
||||
|
||||
class SandboxConfig {
|
||||
class StagingConfig {
|
||||
|
||||
private final static byte[] UNIDENTIFIED_SENDER_TRUST_ROOT = Base64.getDecoder()
|
||||
.decode("BbqY1DzohE4NUZoVF+L18oUPrK3kILllLEJh2UnPSsEx");
|
||||
|
@ -83,6 +83,6 @@ class SandboxConfig {
|
|||
return CDS_MRENCLAVE;
|
||||
}
|
||||
|
||||
private SandboxConfig() {
|
||||
private StagingConfig() {
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue