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 disabling Authorization headers for bundle downloads #174

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fardke
Copy link

@fardke fardke commented Mar 15, 2024

Hello,

To be able to download bundle from some external storage (like aws S3 or azure blob storage) it can be useful to not send Authorization header.

In order to test this modification correctly I add a sniffer (using scapy module). It's allow us to check requests send by rauc-hawkbit-updater to hawkbit container and validate headers. To make it works we must add specific capabilities. It's annoying, but I don't find any alternatives.

fardke added 2 commits March 15, 2024 11:52
Add disable_download_auth_header configuration flag.

If disable_download_auth_header is set in configuration file, we make
bundle download without Authorization header. It can be useful when we
download bundle from external storage.

Signed-off-by: Kevin Fardel <[email protected]>
We use a sniffer to catch packets between rauc-hawkbit-updater and
hawkbit container and check that download packets have good headers.

Signed-off-by: Kevin Fardel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant