refstack/refstack
Martin Kopec 06207cfb93 Encode pubkey in validators
Follow up change for py2->py3 migration.
The pubkey must be encoded in order to avoid 'data must be
bytes-like' error. The key is a type of str which in py2 meant
bytes, however, in py3 it's just string. Therefore the pubkey
must be encoded before it's passed to load_ssh_public_key which
requires bytes-like data.

Change-Id: I943438a59923bd9c4e9dd38058020e49fd2f3d24
2021-02-17 13:06:43 +00:00
..
api Encode pubkey in validators 2021-02-17 13:06:43 +00:00
db Remove decode call from db migrations script 2021-01-28 19:11:46 +00:00
tests Use unittest.mock instead of mock 2021-01-25 19:38:53 +00:00
__init__.py Add authentication through openstackid.org 2015-07-02 16:20:55 +03:00
opts.py Add endpoint and UI for public keys uploading 2015-08-13 20:40:55 +00:00