debian/: Adjust packaging to include debian's changes.
This just takes changes that are in debian's sid branch.
debian/compat: 9 -> 10
debian/control:
- debhelper: 8 -> 10
- drop shlibs dep.
- drop X-Python3-Version: ssh-import-id will work on
any supported python.
All differences at this point are improvements on this side.
- python3-all: does not need a versioned depends. No supported version
of python3-all is <2.6.
- standards-version: this value is newer than in debian. (4.1.3->4.1.2)
- postinst: safer updating of obsolete config here.
- debian/install: have a trailing newline.
- debian/rules: patch the version into version.py so we get the
packaged version.
- debian/source/format: declare version 3.0 quilt.
Get path to user's authorized_keys even if HOME is not set.
Previous attempt to fix bug 1570997 failed.
They only addressed the read portion of the code, not the writing.
This provides a method 'get_keyfile' and uses it in both places.