Comments (5)
That is what I expected, so I was mainly asking for clarification. I will try that at some point and will let you know. Thanks
from crypter.
Let me first briefly explain how it works.
Crypter never ever directly uses your MasterPass to encrypt anything but instead derives a MasterPassKey from it which it then uses to derive the encryption key (which is used directly to encrypt your file). Every time a file is decrypted, the encryption key is re-derived from the MasterPassKey. Every time you set the MasterPass through the setup or reset it (through Verify MasterPass), the MasterPassKey is derived from the MasterPass using a newly generated set of (random) credentials. These credentials are used to re-derive the MasterPassKey every time the Crypter is executed (i.e. the app is launched). The reason for using randomness is that it makes a brute-force attack more impractical to be performed which drastically improves security.
Considering the aforementioned, the reason you're encountering this issue is that the MasterPassKey originally used to derive the encryption key on one machine is not the same as the MasterPassKey derived on a different machine because the set of credentials generated on the other machine is different (due to randomness). As a result your encryption key that is derived from the MasterPassKey is different and so incorrect which yields the error.
Solution (to accomplish full portability)
So it is not a bug but a security-first practice. Nor is it such an inconvenience really because all you have to do is export the set of credentials from Crypter on one machine and import it into Crypter on another machine. The formal functionality is currently being implemented, see #6 for v3.0.
However, since Crypter v2.0 uses leveldb for persistently storing the credentials, you can try to directly copy the db or even whole appdata folder which should be found under ~/.config/Crypter/
for linux from one machine to another.
Hope this helps 😄 . Try it and let me know if it works!
from crypter.
It is documented now to make it more explicit https://git.io/Crypter.info#portability
from crypter.
@strangefreeworld I've just finished implementing the formal import / export functionality. Check it out in the dev
branch and let me know how you find it! I've added a settings window (access it by going to Crypter > Preferences...) from where you can access the functionality. I've personally tested it and it works! Full CRYPTO file portability.
from crypter.
Resolved with resolving #6
from crypter.
Related Issues (20)
- Add option to prompt for destination directory for every file to be encrypted/decrypted
- MasterPass.check is vulnerable to timing attacks. HOT 5
- Enforce stronger password HOT 4
- Crypto parameters
- MasterPass requirements and rules
- macOS Icon issue HOT 2
- [Linux] desktop file does not pass desktop-file-validate HOT 7
- Encrypt folder ? HOT 4
- False Positive? Hybrid Analysis / VirusTotal HOT 2
- emitErrs was removed in winston 3.0.0
- Hide my poject / execute my project HOT 1
- Buffer vulnerability
- Update Homebrew Cask URL
- Save Password in Keychain
- Verification page doesn't show up after Set Masterpass
- Can't decrypt on different machine after importing credentials HOT 1
- doesn't encrypt HOT 1
- bypass window defender? HOT 1
- Is at EOL?
- Crypter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypter.