mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add some more public keys.
This commit is contained in:
@@ -157,7 +157,9 @@ bool SpecialConfigRequest::decryptSimpleConfig(const QByteArray &bytes) {
|
||||
return false;
|
||||
}
|
||||
|
||||
auto publicKey = internal::RSAPublicKey(gsl::as_bytes(gsl::make_span(kPublicKey.c_str(), kPublicKey.size())));
|
||||
auto publicKey = internal::RSAPublicKey(gsl::as_bytes(gsl::make_span(
|
||||
kPublicKey.c_str(),
|
||||
kPublicKey.size())));
|
||||
auto decrypted = publicKey.decrypt(gsl::as_bytes(gsl::make_span(decodedBytes)));
|
||||
auto decryptedBytes = gsl::make_span(decrypted);
|
||||
|
||||
|
Reference in New Issue
Block a user