Comments (3)
@hrishikeshrt copying the directory is the correct way to migrate
Are you sure the correct dependencies are installed? https://github.com/gabfl/vault#installation-and-setup
This could explain your issue
from vault.
Installation is correct (or at least I feel so, because I can have a local vault on both the systems, but if I transfer one .vault
folder to the other machine, it no longer accepts master key.)
To elaborate,
machine A: pyvault 2.4, local vault exists and works (sqlalchemy 1.3.22, sqlcipher3 0.4.5)
machine B: pyvault 2.4, local vault exists and works (sqlalchemy 1.3.22, sqlcipher3 0.4.5)
Transfer .vault
from A to B, the entry screen that asks for master key, says that master key is incorrect.
Same, the other way around.
Both systems are Ubuntu 18.04
. One has python 3.8.8
, the other has 3.8.5
, but I didn't think that would be an issue.
Edit: I updated the python version, and did not make a difference.
from vault.
Okay, it seems like the version of apt package libsqlcipher-dev
was different on both systems, one was 3.4.1
while the other was 4.3.0
.
I upgraded the 3.4.1
system to 4.3.0
and now it opens the vault. (Needless to say, now it breaks the local vault, but that is okay for my use case since I wanted to transfer the vault anyway)
Still, I feel like this was somewhat unexpected behaviour, potentially breaking vault across versions without any clear indication of why (since no error is thrown, just key isn't accepted). I am wondering if it's a good idea to note the system's libsqlcipher-dev
version (and any other versions which might affect) in the config file, so that replication is possible.
(Another one of the sad scenarios could be an apt upgrade
breaking the vault)
On further reading, it seems like newer versions can open older databases. More about the incompatibility and workarounds mentioned here: https://www.zetetic.net/blog/2018/11/30/sqlcipher-400-release/ in the Compatibility section.
from vault.
Related Issues (20)
- can't install pyvalt HOT 13
- Make executable. HOT 2
- Ctrl-d has an unexpected behavior when the vault is locked
- Sync / Which files HOT 5
- QRCode for passwords HOT 4
- Password still displayed HOT 3
- Support for Yubikey HOT 6
- Created by mistake - please delete :)
- Clipboard not clearing on Linux HOT 4
- Vault does not work with ZSH on MacOS HOT 3
- Windows Support? HOT 2
- pysqlcipher3 HOT 7
- Using PBKDF2 to generate the key HOT 5
- Error ModuleNotFount HOT 3
- Implement Pyperclip fallback
- when i type vault it do nothing HOT 4
- Show Single Credential to Screen HOT 1
- build fails because of sqlcipher3 HOT 4
- Does this library provide a programming interface? HOT 1
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 vault.