moyix / csaw23_nervcenter

Pwn+Crypto challenge for CSAW 2023 Finals
9 stars 0 forks source link

Corrupted key occasionally unusable for encryption? #4

Open moyix opened 1 year ago

moyix commented 1 year ago

This is maybe not really a problem since they can always reconnect and get a new key.

Example log: solver_output_05.txt

moyix commented 1 year ago

decryptmessage output:

[-] RSA decryption failed
[-] Error: 40E715ADB97F0000:error:02000079:rsa routines:RSA_padding_check_PKCS1_OAEP_mgf1:oaep decoding error:../crypto/rsa/rsa_oaep.c:314:
40E715ADB97F0000:error:02000072:rsa routines:rsa_ossl_private_decrypt:padding check failed:../crypto/rsa/rsa_ossl.c:499:
[-] Decryption failed
moyix commented 1 year ago

Also: check if it can be fixed by just asking for the flag again, so it re-encrypts with a different random key.