Skip to content
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

Allow burning a file straight from stdin #137

Open
ifd3f opened this issue May 24, 2024 · 0 comments
Open

Allow burning a file straight from stdin #137

ifd3f opened this issue May 24, 2024 · 0 comments
Labels
feature New feature to add to the program itself. Does not include refactors or platform support.

Comments

@ifd3f
Copy link
Owner

ifd3f commented May 24, 2024

Is your feature request related to a problem? Please describe.

It would be super neat to do something like

curl https://example.com/my-os.iso | caligula burn

Although it looks like we won't be able to get user input, we still can! Just use /dev/tty.

This would allow for all kinds of shenanigans:

  • Out of disk space on your device? Not to worry! Just curl | caligula burn
  • Want to try a new image without downloading it to a file? Not to worry! Just curl | caligula burn
  • This could be a workaround for unsupported compression formats (weirdformatcat < my-os.iso.whatever | caligula burn)

Describe the solution you'd like

  • Hash validation can be performed by the writer process
  • Implement verification phase via hashing rather than byte comparison (i.e. hash while writing to the disk, and during verification, perform a hash of the disk's bytes)
  • Make all user input come from /dev/tty and not stdin

Note that, when we implement #64, this mode would be completely incompatible with any form of multi-disk burning.

Describe alternatives you've considered

N/A

Additional context

N/A

@ifd3f ifd3f added the feature New feature to add to the program itself. Does not include refactors or platform support. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to add to the program itself. Does not include refactors or platform support.
Projects
None yet
Development

No branches or pull requests

1 participant