-
Notifications
You must be signed in to change notification settings - Fork 110
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
Feature: Lock state file without exiting #54
Comments
Sorry, do you mean unlock? Normally the statefile should be locked whenever Pond is running. There was a bug where it became unlocked after the first save, but that's fixed in git now. Unlocking the statefile while Pond is running would be bad and would probably lead to messages getting lost. Would running with --cli and screen work for you? |
Sorry, I was using the wrong terminology. I meant the following: Once I start pond, I have to enter a passphrase to decrypt the statefile. I would like to be able to re-encrypt the statefile and go back to the passphrase prompt without closing down pond. An analogy would be the "lock database"-Function of KeePass or the "Lock Screen" function of any OS. |
Pond could not function in the background while the state file was locked (unless the "locking" is just cosmetic and the process is operating on the plaintext in memory). Did you have a cosmetic lock in mind, or do you just wish to have the program running as if just started? |
In this case, I'd that the added convenience of having a specific persistent |
In principle, one could create a "transact only" mode for pond in which pond retained only the user's public identity key, and maybe the private one too, but not their passphrase or message public keys or contact information including ratchets :
In particular, pond would record about 4 megs of garbage per day that it'd need to process when it returned from "transact only" mode, but that number might increase if pond's frequency of contacting the server was ever increased from the average of 5 min. There is an important issue about such a "transact only" mode : If authorities raided your pond while in "transact only" mode, then they would still gain access to your identity key. Assuming said authorities had hacked the pond server previously, this would allow them to determine the number, sizes, and timings of all pond messages you received, which could provide evidence as to an activist's importance or such. |
Sometimes it may be desireable to lock the pond state file without exiting the program (e.g., when running a permanent instance of pond in a screen instance on your server / a raspberry pi).
This is probably a quick change, but I am not familiar with the Go Language.
The text was updated successfully, but these errors were encountered: