New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make signed scrypt binary available to Qubes users for emergency backup recovery #4047

Closed
andrewdavidwong opened this Issue Jul 1, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@andrewdavidwong
Member

andrewdavidwong commented Jul 1, 2018

I've just updated Emergency Backup Recovery without Qubes - format version 4 to strongly recommend that Qubes users store a copy of the scrypt utility with their 4.x backups, since it is required in order to access the data in those backups (see QubesOS/qubes-doc@bb26173 and, for background, #971).

@marmarek and I previously agreed that it would be a good idea to make a signed binary available to Qubes users so that all Qubes users don't have to compile it from source themselves.

One thing to think about is whether the signed binary should also be included in Qubes itself (e.g., in dom0) or just as a web download.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 1, 2018

Member

We already have signed rpm package with the binary. You can easily extract binary (rpmdev-extract tool) from there and treat rpm as a signed container. Alternatively we could put just a binary with a detached signature somewhere. Obviously the first option if far less work, as it is already done: https://yum.qubes-os.org/r4.0/current/vm/fc28/rpm/scrypt-1.2.1-1.fc28.x86_64.rpm (you can also choose older Fedora version, to have it linked with older libraries - useful for usage on non-Fedora systems)

Member

marmarek commented Jul 1, 2018

We already have signed rpm package with the binary. You can easily extract binary (rpmdev-extract tool) from there and treat rpm as a signed container. Alternatively we could put just a binary with a detached signature somewhere. Obviously the first option if far less work, as it is already done: https://yum.qubes-os.org/r4.0/current/vm/fc28/rpm/scrypt-1.2.1-1.fc28.x86_64.rpm (you can also choose older Fedora version, to have it linked with older libraries - useful for usage on non-Fedora systems)

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jul 1, 2018

Member

Ok, I'll document the procedure.

Member

andrewdavidwong commented Jul 1, 2018

Ok, I'll document the procedure.

@andrewdavidwong andrewdavidwong added C: doc and removed C: other labels Jul 1, 2018

andrewdavidwong added a commit to QubesOS/qubes-doc that referenced this issue Jul 1, 2018

Update emergency backup restore documentation
- Add instructions for obtaining scrypt binary
- Use shorter notation for backup format versions
- Use reference-style links
- Fix numbering
- Clarify backup_id step
- Make language more consistent

Closes QubesOS/qubes-issues#4047
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment