Skip to content

Corkscrew install from brew has broken Proxy-Authorization #12

@louisbuchbinder

Description

@louisbuchbinder

Steps to reproduce:

  • Install corkscrew using brew brew install corkscrew
  • Create auth file echo user@pass > auth
  • Make corkscrew request: corkscrew localhost 8000 localhost 8001 auth
  • Header come through like: Proxy-Authorization: Basic Q09OTkVDVCBsb2NhbGhvc3Q6ODAwMSBIVFRQLzEuMApQcm94eS1BdXRob3JpemF0aW9uOiBCYXNpYyA=
  • Decoding the auth header:
base64 --decode <<< 'Q09OTkVDVCBsb2NhbGhvc3Q6ODAwMSBIVFRQLzEuMApQcm94eS1BdXRob3JpemF0aW9uOiBCYXNpYyA='
CONNECT localhost:8001 HTTP/1.0
Proxy-Authorization: Basic 

Notes

  • It seems like the request headers themselves are being base64 encoded instead of the contents of the auth file.
  • I built corkscrew from source and the auth works as expected. Possibly this is as simple as publishing the latest corkscrew to homebrew.
corkscrew --version
corkscrew 2.0 ([email protected])

Thank you this is very useful software for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions