replacement of GCP configuration ?
Server Version : Server v3.21
Dependencies : GCP
is there any replacement of GCP configuration inside the config.yml , because it same as S3 amazon need subscription
thanks and regards,
@rabihbeyrouty I personally use something like this, it is because I use minio for attachment
gcpAttachments: # gcp storage configuration
domain: domain.com
email: [email protected]
maxSizeInBytes: 1000000
pathPrefix: /
rsaSigningKey: "-----BEGIN RSA PRIVATE KEY-----\r\n ... \r\n-----END RSA PRIVATE KEY-----"
@madeindra - I got an invalid RSA key error when I copied this.
java.io.IOException: Invalid RSA key
at org.whispersystems.textsecuregcm.gcp.CanonicalRequestSigner.initializeRsaSigningKey(CanonicalRequestSigner.java:89)
at org.whispersystems.textsecuregcm.gcp.CanonicalRequestSigner.<init>(CanonicalRequestSigner.java:34)
at org.whispersystems.textsecuregcm.controllers.AttachmentControllerV3.<init>(AttachmentControllerV3.java:52)
at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:507)
at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:206)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:59)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at org.whispersystems.textsecuregcm.WhisperServerService.main(WhisperServerService.java:641)
@madeindra - I got an invalid RSA key error when I copied this.
java.io.IOException: Invalid RSA key at org.whispersystems.textsecuregcm.gcp.CanonicalRequestSigner.initializeRsaSigningKey(CanonicalRequestSigner.java:89) at org.whispersystems.textsecuregcm.gcp.CanonicalRequestSigner.<init>(CanonicalRequestSigner.java:34) at org.whispersystems.textsecuregcm.controllers.AttachmentControllerV3.<init>(AttachmentControllerV3.java:52) at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:507) at org.whispersystems.textsecuregcm.WhisperServerService.run(WhisperServerService.java:206) at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:59) at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98) at io.dropwizard.cli.Cli.run(Cli.java:78) at io.dropwizard.Application.run(Application.java:94) at org.whispersystems.textsecuregcm.WhisperServerService.main(WhisperServerService.java:641)
Well because you aren't suppose to copy and paste that value, above RSA key was redacted from the original, however you can generate your own rsa key pair
Yes, I figured it out later. Thank you.