-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Constants to unravel some of the mystery behind the vars
- Loading branch information
1 parent
0df3906
commit 1794962
Showing
4 changed files
with
61 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Garry.Control4.Jailbreak | ||
{ | ||
public static class Constants | ||
{ | ||
public const int Version = 1; | ||
|
||
/// <summary> | ||
/// The cert for composer needs to be named cacert-*.pem | ||
/// </summary> | ||
public const string ComposerCertName = "cacert-garry.pem"; | ||
|
||
/// <summary> | ||
/// Needs to start with Composer_ and can be anything after | ||
/// </summary> | ||
public const string CertificateCN = "Composer_GarryComposerMod"; | ||
|
||
/// <summary> | ||
/// Should always be this unless they change something internally | ||
/// </summary> | ||
public const string CertPassword = "R8lvpqtgYiAeyO8j8Pyd"; | ||
|
||
/// <summary> | ||
/// How many days until the certificate expires. Doesn't seem any harm in setting this to | ||
/// a huge value so you don't have to re-crack every year. | ||
/// </summary> | ||
public const int CertificateExpireDays = 3650; | ||
|
||
/// <summary> | ||
/// Where OpenSSL is installed (it's installed with Composer) | ||
/// </summary> | ||
public const string OpenSslExe = @"C:\Program Files (x86)\Control4\Composer\Pro\RemoteAccess\bin\openssl.exe"; | ||
|
||
/// <summary> | ||
/// Where OpenSSL's Config is located (it's installed with Composer) | ||
/// </summary> | ||
public const string OpenSslConfig = @"C:\Program Files (x86)\Control4\Composer\Pro\RemoteAccess\config\openssl.cfg"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters