Discussion:
[Bug 1770305] Re: ssh-import-id lp:$missing-user attempts to parse the (HTML) 404 response as a series of ssh keys
(too old to reply)
Launchpad Bug Tracker
2018-05-11 20:29:54 UTC
Permalink
This bug was fixed in the package ssh-import-id - 5.7-24-g4001a38e-
0ubuntu1

---------------
ssh-import-id (5.7-24-g4001a38e-0ubuntu1) cosmic; urgency=medium

* New upstream snapshot.
- debian/postinst: Correctly check old version.
- debian/: Adjust packaging to include debian's changes and fix
lintian warnings.
- Migrate upstream to git.
- Add running of pycodestyle and pylint via tox and fix warnings.
- Convert tabs to spaces for indentation globally.
- Get path to user's authorized_keys even if HOME is not set.
(LP: #1570997)
- Exit with sys.exit() rather than os._exit.
[Michael Hudson-Doyle] (LP: #1770302)
- Launchpad: check status code of response when fetching ssh keys.
[Michael Hudson-Doyle] (LP: #1770305)
- Fix NameError on unknown service/proto. [Michael Hudson-Doyle]
- debian/rules: no longer run pep8 in debian build.
- Use setup.py's console_scripts to write ssh-import-id to /usr/bin.

-- Scott Moser <***@ubuntu.com> Fri, 11 May 2018 14:56:46 -0400

** Changed in: ssh-import-id (Ubuntu)
Status: Confirmed => 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/1770305

Title:
ssh-import-id lp:$missing-user attempts to parse the (HTML) 404
response as a series of ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ssh-import-id/+bug/1770305/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailm
Scott Moser
2018-05-11 19:04:27 UTC
Permalink
** Also affects: ssh-import-id (Ubuntu)
Importance: Undecided
Status: New

** Changed in: ssh-import-id (Ubuntu)
Status: New => Confirmed

** Changed in: ssh-import-id (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770305

Title:
ssh-import-id lp:$missing-user attempts to parse the (HTML) 404
response as a series of ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ssh-import-id/+bug/1770305/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubunt
Michael Hudson-Doyle
2018-05-13 23:58:04 UTC
Permalink
** Also affects: ssh-import-id (Ubuntu Bionic)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770305

Title:
ssh-import-id lp:$missing-user attempts to parse the (HTML) 404
response as a series of ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ssh-import-id/+bug/1770305/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/u
Michael Hudson-Doyle
2018-05-20 10:18:23 UTC
Permalink
Verification completed, I tested this version:

$ dpkg-query -W ssh-import-id
ssh-import-id 5.7-0ubuntu1.1

on my bionic install, I tested importing keys from an non-existing
username

$ ssh-import-id mwhudso
2018-05-20 22:17:21,328 ERROR Launchpad user not found. status_code=404 user=mwhudso

and existing

$ ssh-import-id mwhudson
2018-05-20 22:17:24,662 INFO Already authorized ['2048', 'SHA256:uB6hgZW/Ssz+uwrRo/mqnq5HN1wXzUGVbFKW9tt2WgU', 'canonical', '(RSA)']
2018-05-20 22:17:24,663 INFO [1] SSH keys [Authorized]


and even set up a container to that thought launchpad.net was served by another container to test the "other status code" code path (complete with self-signed certificate fiddling):

***@mitm-victim:~# ssh-import-id lp:mwhudson
2018-05-20 10:14:06,089 ERROR Requesting Launchpad keys failed. status_code=403 user=mwhudson

And everything behaved as expected.

** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770305

Title:
ssh-import-id lp:$missing-user attempts to parse the (HTML) 404
response as a series of ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ssh-import-id/+bug/1770305/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
Brian Murray
2018-05-17 19:31:36 UTC
Permalink
Hello Michael, or anyone else affected,

Accepted ssh-import-id into bionic-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/ssh-import-
id/5.7-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!

** Changed in: ssh-import-id (Ubuntu Bionic)
Status: New => Fix Committed

** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1770305

Title:
ssh-import-id lp:$missing-user attempts to parse the (HTML) 404
response as a series of ssh keys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ssh-import-id/+bug/1770305/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/list
Loading...