aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/views.py
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2018-12-03 13:38:37 -0500
committerParker Berberian <pberberian@iol.unh.edu>2018-12-03 13:38:37 -0500
commite40592d14caf8b4c8d8e13b9623aeef7fee0eb4a (patch)
treed4b7563284f19cc658d5bc77a969b0438ed7c6c1 /src/api/views.py
parentb361d6df77ab59bb0f227aec00c19b080f31bc50 (diff)
BUG FIX: Properly decodes ssh public keyfile
Because of how Python3 changed how it handled strings, the byte string read from the user's keyfile was not directly serializable. This decodes the bytes into a unicode string, assuming UTF-8 encoding. Change-Id: I5f723a61fb577fa6d4e76e701ef529521ab389ba Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/api/views.py')
0 files changed, 0 insertions, 0 deletions