Commit Graph

8 Commits

Author SHA1 Message Date
Michał Janiszewski a34b9c6785 Include common.h to resolve MSVC build issue 2016-05-27 20:28:34 +02:00
Michał Janiszewski 4ffceafdbb Make sure the challenge token is random and handled properly
This change also fixes passworded servers not working properly, as
strlen() was getting called on something that was not guaranteed to be
null-terminated string when signing the token.
2016-05-27 20:28:33 +02:00
Michał Janiszewski 66abc31fee Handle malformed private keys gracefully 2016-05-27 20:28:33 +02:00
Michał Janiszewski caa74acb1b Fixes for x86-64 2016-05-27 20:28:33 +02:00
Michał Janiszewski a83154832c Formatting 2016-05-27 20:28:33 +02:00
Michał Janiszewski 839fc3938f Add NetworkKey files to VS project 2016-05-27 20:28:33 +02:00
Michał Janiszewski 715ba561b1 Initial version of key-based auth 2016-05-27 20:28:33 +02:00
Michał Janiszewski 1c459c8186 Add NetworkKey class 2016-05-27 20:28:33 +02:00