Added public key and placeholder onion address.

This commit is contained in:
akwizgran
2016-04-21 16:07:51 +01:00
parent 5c2f56549b
commit 9b5d3ecb7a
4 changed files with 44 additions and 36 deletions

View File

@@ -7,6 +7,4 @@ public interface DevConfig {
PublicKey getDevPublicKey();
String getDevOnionAddress();
int getDevReportPort();
}

View File

@@ -0,0 +1,25 @@
package org.briarproject.api.reporting;
public interface ReportingConstants {
/**
* Public key for reporting crashes and feedback to the developers. This
* is an ECIES key on the brainpoolp512r1 curve, encoded in SEC 1 format
* without point compression.
*/
String DEV_PUBLIC_KEY_HEX =
"0457AD1619FBD433D5E13D5560697054"
+ "6E8FC5F4EF83A8C18718E8BF59BB601F"
+ "E20CCB233F06714A1BED370141A04C81"
+ "808CF2EE95C7323CDEE5999670BD1174"
+ "1F65ED691F355518E1A7E5E54BDDCA4C"
+ "B86BD8DB8842BBFD706EBD9708DB8C04"
+ "4FF006F215D83A66B3AEBAD674C4C1C4"
+ "218121A38FA1FDD4A51E77588D90BD9652";
/**
* Hidden service address for reporting crashes and feedback to the
* developers. TODO: Replace this with a real address.
*/
String DEV_ONION_ADDRESS = "aaaaaaaaaaaaaaaa.onion";
}