eca
eca copied to clipboard
Bug/Security No sha256 check for the downloaded eca binary in eca-emacs
Please avoid AI slops, be concise, and focus on what matters for this issue.
SHA256 of the downloaded eca binary not checked
There is no guarantee that the sha256 of the binary .emacs.d/eca/eca.zip is equal to the sha256 from github.
To Reproduce
Steps to reproduce the behavior:
- Run M-x
eca-uninstall-server - Instrument
eca-infofor edebug. - Run M-x
eca-install-server - Continue at the first hit of
eca-info(Downloading server) - When execution is halted in
eca-inforeplace the zip file with the zip file of predecessor eca version. - When continuing the install continues without any error messages.
Expected behavior The install from zip archive with the predecessor eca version (and therefore non-matching sha256) should be rejected with some error message.
Additional context This is a security issue since the installation process for the eca binary is exposed to man in the middle attacks.
Oh, this is the wrong repo. Sorry. I'll repost this in eca-emacs.