Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Provide an endpoint to encrypt_file / decrypt_file separately similar to encrypt_keychain / decrypt_keychain. #49

Open
HariniRajan397 opened this issue May 10, 2020 · 0 comments

Comments

@HariniRajan397
Copy link

HariniRajan397 commented May 10, 2020

Scenario/ Problem Statement :

At BlockSurvey, we recently migrated from .org to .io domain. We wanted to check if there is any way to take a dump of files from .org Gaia and migrate it to .io Gaia.

I understand the files are encrypted with the app-key based on the combination of Blockstack id and app origin. So it is not a straight forward move. I have taken the file dump from .org domain using the below command.
$blockstack-cli gaia_dump_bucket xxx.id.blockstack https://blocksurvey.org https://hub.blockstack.org “$BACKUP_PHRASE” ./backups

But few files are encrypted with the .org domain-specific app keys. So we couldn't port the files easily.

Request for endpoint:
In this scenario, it will be very helpful if we have an endpoint to separately encrypt_file/decrypt_file. Those endpoints will enable us to decrypt the downloaded dump file and upload it to Gaia using the putFile() command. Thanks.

**Adding the forum discussion related to the same. Thanks .**https://forum.blockstack.org/t/help-needed-porting-gaia-files-from-one-domain-to-another/10789/3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant