Public bug reported:
This is reported in github at: https://github.com/go-macaroon-bakery/py-
macaroon-bakery/issues/53
When the authentication URL hostname has no dots in, the bakery client
makes a cookie with that hostname as the domain, but that's ignored by
the Python cookie jar because the domain isn't a FQDN, so the discharge-
required (macaraq) flow will not work with local hostnames.
The standard Python behaviour in this case seems to be to add a ".local"
suffix to the domain name when adding the cookie to the cookie jar, so
it seems that the bakery should do that to fix the issue.
** Affects: py-macaroon-bakery (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: py-macaroon-bakery (Ubuntu Bionic)
Importance: Undecided
Status: New
** Affects: py-macaroon-bakery (Ubuntu Cosmic)
Importance: Undecided
Status: Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790663
Title:
httpbakery: discharge does not work when hostname does not contain a
dot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/py-macaroon-bakery/+bug/1790663/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs