Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cryptography designs #869
Cryptography designs #869
Changes from 2 commits
7585b47
16b18bd
0b41686
4430d34
2c004f2
216ec47
65e6c68
aec1948
02282b3
7ae6826
ec59acc
ebd4fbf
2de63bb
c4f232e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
which height?
Remember, this section is about generating an asymmetric key-pair from the master seed alone.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point - I think we're using the word derivation too loosely in this document.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
given that this is in the section about the communication with the enclave, the "derivation" should be explained in that context
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good spot. That wasn't right. I removed the derivation wording in the communication chapter.
Explained the derivation in the next chapter where it makes more sense though. WDYT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs further analysis.
How would a developer of a smart contract using standard ethereum tooling specify the revelation period for that contract?
How would a user know what the RP is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused, what's a revelation period for a contract ?
These only specify transaction-based revelation periods. A transaction is issued and for a certain period, it's encrypted.
Do you mean contract creation transactions ? Like a dev creating a smart contract and the creation tx being encrypted for a RP ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's why it's good to start by stating the requirements as clearly as possible.
in the WP: https://whitepaper.obscu.ro/obscuro-whitepaper/detailed-design.html#transaction-encryption
The requirement is that the dApp developers decide the revelation period for all transactions that call that contract.
This is not a concern of the end-user .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All right I didn't read it like that. To be fair that isn't super explicit. I read it as the web3 dev creates a tx that is encrypted for X amount of time.
It seems like interacting with certain contracts encrypts the transaction for a certain amount of time ? Is that it ?
What's the design you have in mind ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not correct.
Transactions don't have a revelation period as an intrinsic property of them.
It's only the smart contracts that have this property
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That makes sense, it was not from the whitepaper, it was my proposal.
Where can I read about the expected revelation design ? I didn't see anything in regard to this on the white paper, but I might have missed it.