-
Notifications
You must be signed in to change notification settings - Fork 172
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
Clarify putSigned #687
Comments
My testing indicates that only the owner of the key/id pair can change that dataset. This means that if permanent is set, and the identity is lost the key doesn't appear to disappear. Other issues indicate that if the node that created a DHT item goes away, the item should also go away, however this doesn't seem to be the case for putSigned + permanent items. (I can't seem to kill or modify some that was not removed when a node died.) |
It appears that after some amount of time the signed permanent messages did expire, and my node is able to send messages again. Something to note, the sending node received a successful message when sending the messages, even though it was signed by the wrong key to update. It might be better to reject the message? |
I continue to sit corrected. I just pulled the values for
The first message has an internal timestamp of: Wednesday, 10 January 2024 02:24:48 (GMT) This node was restarted (so got new identity) about 12 hours ago, so the Something else I have yet to figure out is how to confirm a message was signed by the node I expect it to come from. How does one translate an identity into the owner InfoHash. |
More oddities.
It almost appears as tho the network is expiring, and something is resurrecting old entries? The service that should be populating these records, hasn't sent anything since it was started 35 hours ago. |
@coolacid, thanks for raising this issue! As author of urfd, I could use some clarification as well! Especially about As a clarification that might be useful, urfd publishes a 4-part |
Thanks for the reports. The documentation was updated to clarify how SecureDHT works, as well as the semantics of signed values and value edition. Every value provided to However there seems to be a bug that causes some values to never expire, investigating. |
Just to ensure I understand the expectations.
One can putSigned a key with a static id. This can then be edited as long as the same identity send the same putSigned with the same id number.
However, if a different identity was to attempt to send a putSigned, what happens? Another Copy just from a different From address and you should verify that the message came from the expected from address?
The text was updated successfully, but these errors were encountered: