Skip to content

Commit 7f626ab

Browse files
committed
chore: allow server to start without BOSS keys
These keys are not required for serving BOSS content, only for uploading and encrypting new files.
1 parent e598224 commit 7f626ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config-manager.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,15 @@ if (!config.http.port) {
8888
}
8989

9090
if (md5(config.crypto.wup.aes_key) !== BOSS_WIIU_AES_KEY_MD5_HASH) {
91-
errors.push('Invalid BOSS WiiU AES key. Set or correct the PN_BOSS_CONFIG_BOSS_WIIU_AES_KEY environment variable');
91+
warnings.push('Invalid BOSS WiiU AES key. Uploading and encrypting new BOSS content for the Wii U won\'t work! Set or correct the PN_BOSS_CONFIG_BOSS_WIIU_AES_KEY environment variable');
9292
}
9393

9494
if (md5(config.crypto.wup.hmac_key) !== BOSS_WIIU_HMAC_KEY_MD5_HASH) {
95-
errors.push('Invalid BOSS WiiU HMAC key. Set or correct the PN_BOSS_CONFIG_BOSS_WIIU_HMAC_KEY environment variable');
95+
warnings.push('Invalid BOSS WiiU HMAC key. Uploading and encrypting new BOSS content for the Wii U won\'t work! Set or correct the PN_BOSS_CONFIG_BOSS_WIIU_HMAC_KEY environment variable');
9696
}
9797

9898
if (md5(config.crypto.ctr.aes_key) !== BOSS_3DS_AES_KEY_MD5_HASH) {
99-
errors.push('Invalid BOSS 3DS AES key. Set or correct the PN_BOSS_CONFIG_BOSS_3DS_AES_KEY environment variable');
99+
warnings.push('Invalid BOSS 3DS AES key. Uploading and encrypting new BOSS content for the 3DS won\'t work! Set or correct the PN_BOSS_CONFIG_BOSS_3DS_AES_KEY environment variable');
100100
}
101101

102102
if (!config.grpc.boss.address) {

0 commit comments

Comments
 (0)