I have some Java source code on my laptop that would cause me a great deal of suffering if I were to lose possession of the laptop and the source code were to fall into someone else's hands.
Is there a way to encrypt the source code on my hard drive but still be able to edit it in Eclipse?
The other problem is I have been uploading the source code to my online version control repository - if someone were to figure out that password, they would have access to the unencrypted source. For that reason, by encrypting the source code locally before I upload new commits, I will stem the possibility of it being stolen either on my laptop or on the version control repository server.
What's the best way to achieve this type of security for source code without making it too difficult to continue editing that source code?