Closed water5-cmd closed 2 years ago
Hi!
“when EdgelessDB is moved to another physical host”, does it refer to the
edgelssdb
folder or the executable file copied to another physical machine?
It refers to the data folder. EdgelessDB can only decrypt the data files on the same machine that encrypted it.
By the way, when you execute the following command, then running
./edb
also enters recovery mode, why?
make clean
removes the SGX signer key private.pem
in the build folder, so make
will generate a new one. The master key is (among other things) derived from the SGX signer. If you copy build/private.pem
before doing make clean
and copy it back afterwards (but before building), it should work.
In other terminal, I have followed the documentation and generated the RSA key pair
Regarding era
failing, you've encountered a bug here. I can reproduce this. Thanks for reporting.
The recovery mode bug has been fixed in v0.3.0
Hi, @thomasten, From the document, I know "when EdgelessDB is moved to another physical host, it enters recovery mode and waits for the master key to be passed over the HTTP REST API." I have a question about this statement: “when EdgelessDB is moved to another physical host”, does it refer to the
edgelssdb
folder or the executable file copied to another physical machine? By the way, when you execute the following command, then running./edb
also enters recovery mode, why?In other terminal, I have followed the documentation and generated the RSA key pair
When you do not execute the
make clean
command, you will not enter recovery mode.My guess is that I performed the recovery mode operation in the wrong usage scenario, which caused me to fail to fetch the
edb_temp.pem
. Is that the reason?