remove basic auth (and passwords) - neither are used outside of the test suite

Bug #644105 reported by Robert Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
William Grant

Bug Description

Basic auth is still in the code base, and still AFAICT live on prod; we'll need to fixup some test stuff to make it work, but deleting it would make the LP code around the start of a request considerably leaner and cleaner.

Related branches

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: [Bug 644105] [NEW] remove basic auth

I think the trickiest thing to fix will be the windmill tests, which
can't login using openid because windmill can't cope with crossing
multiple hostnames.

 subscribe yes

Revision history for this message
Robert Collins (lifeless) wrote :

Is there an upstream bug for that limitation?

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: remove basic auth

I think there is, but Maris should know for sure

Gary Poster (gary)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → Low
summary: - remove basic auth
+ remove basic auth (and passwords) - neither are used outside of the test
+ suite
Revision history for this message
Curtis Hovey (sinzui) wrote :

Windmill is gone. I think we can proceed.

tags: added: tech-debt
Revision history for this message
William Grant (wgrant) wrote :

Pagetests still use basic auth extensively. Porting them all would be time-consuming, and the result would probably be slow. I have branches which change the basic auth handler to only work in the testrunner, and to accept a hardcoded password. Seems to work OK.

Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Ian Booth (wallyworld)
Changed in launchpad:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
tags: added: disclosure sharing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.