skalenetwork / sgxwallet

sgxwallet is the first-ever opensource high-performance hardware secure crypto wallet that is based on Intel SGX technology. First opensource product on Intel SGX whitelist. Scales to 100,000+ transactions per second. Currently supports ETH and SKALE, and will support BTC in the future. Sgxwallet is under heavy development and use by SKALE network.
https://skale.network
GNU Affero General Public License v3.0
63 stars 33 forks source link

Change getDecryptionShare to getDecryptionShares #377

Open sync-by-unito[bot] opened 2 years ago

sync-by-unito[bot] commented 2 years ago

Make getDecryptionShare in SGX to take an array of encrypted values and return an array of values.

This is because a typical TE encrypted block will include many transactions and all of them need to be

decrypted in a single call to be efficient.

If a particular value is corrupt and can not be decrypted, return error for this value, but decrypt other value.

Otherwise an attacker can cause a DoS attack by submitting a corrupt value in a transaction.

┆Issue is synchronized with this Jira Task

sync-by-unito[bot] commented 2 years ago

➤ Automation for Jira commented:

Corresponding Pull Request https://github.com/skalenetwork/sgxwallet/pull/378

sync-by-unito[bot] commented 2 years ago

➤ Automation for Jira commented:

Corresponding Pull Request https://github.com/skalenetwork/sgxwallet/pull/379

sync-by-unito[bot] commented 2 years ago

➤ Evgeniy Zherdzitskiy commented:

Not include in V2 release. Temporary moved to BLOCKED column