299 Commits

Author SHA1 Message Date
Dario
fc526934bf exclude generated code for hedera protobuf files, because there are many and we don't really need them all, only the Consensus Stuff 2020-06-11 12:56:42 +02:00
Dario
2cb7c27bf9 Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server 2020-06-10 17:08:05 +02:00
Dario
c925984ded add create and save user backup and email verification code for new register direct 2020-06-10 17:07:55 +02:00
Dario via Pythagoras
3d071f3517 Merge branch 'master' of ssh://**REDACTED**/~/_C++/gradido_login_server 2020-06-10 16:54:15 +02:00
Dario via Pythagoras
95a892c760 add db tables as sql file via skeema 2020-06-10 16:53:48 +02:00
Dario
c009a12f45 add createUserDirect and missing functions for that in related classes 2020-06-09 20:34:27 +02:00
Dario
7d826fcacd use new user in login 2020-06-09 12:14:51 +02:00
Dario
2078705a80 fix typo, add controller/TestUser 2020-06-09 10:11:38 +02:00
Dario
52ff920501 add more folder for test files 2020-06-09 10:08:47 +02:00
Dario
c617ed7173 moved server config init into global test main, instead per test. ServerConfig can't handle multiple initializing calls, from every test case 2020-06-09 10:00:19 +02:00
Dario
c44184f823 update code to work together for setting new password and update encrypted privkey and password hash in db 2020-06-08 18:30:29 +02:00
Dario
e7624382ae use KeyPairEd25519 and AuthenticatedEncryption in controller/User 2020-06-08 13:42:37 +02:00
Dario
d08ab28394 update doc 2020-06-08 13:40:48 +02:00
Dario
b285768fce add AuthenticatedEncryptionCreateKeyTask for running password creation in background 2020-06-08 13:40:21 +02:00
Dario
8170bb21f0 Add test for TestAuthenticatedEncryption and update code to work with test 2020-06-08 12:54:07 +02:00
Dario
ea18b3ca0a add Crypto/AuthenticatedEncryption to move code from model/User into own class, add app secret to server config 2020-06-07 21:36:17 +02:00
Dario
4a93b26e9a cleanup tests, they now working as expected 2020-06-07 19:44:50 +02:00
Dario
2a907d50e5 remove profiling code, update key generation algorithmus from KeyPairEd25519 to get same results like KeyPair 2020-06-07 19:32:43 +02:00
Dario
d8c9c91d0c profile complete sha512 generation 2020-06-07 19:13:46 +02:00
Dario
e5c3b3978a move to CXX Flags to prevent warning by compiling c code, adding include for unix 2020-06-07 18:44:51 +02:00
Dario
28c2830d75 adding some profiling code sha 512 2020-06-07 18:32:47 +02:00
Dario
82d599f950 Add test for new key pair ed25519 class, because optimized algo create other results than old implementation 2020-06-07 17:24:53 +02:00
Dario
fece10c895 change casing for visual studio to show the same casing like in folder system to prevent writing wrong includes 2020-06-07 17:23:26 +02:00
Dario
8248bf5ae7 move converter functions in already existing file 2020-06-05 16:57:18 +02:00
Dario
0325a90dab add possibility to use ed25519 with only a pubkey 2020-06-05 16:49:14 +02:00
Dario
ae74352fc6 add back const with help of mutable shared mutex 2020-06-05 13:44:41 +02:00
Dario
5060fd97f0 add specific pubkey to hex converter for used with new key pair classes 2020-06-05 13:26:06 +02:00
Dario
c8c6667331 add to interface 2020-06-05 13:25:21 +02:00
Dario
e91583d1dc fix assert position after testing, now it is working like expected 2020-06-05 13:24:49 +02:00
Dario
92f1f79af9 Add Key Pair in new format, now a own class for every key type 2020-06-05 13:22:35 +02:00
Dario
3b0ec3711a remove debug code 2020-06-05 13:21:13 +02:00
Dario
004d019819 Update mutex, now using std::shared_mutex allowing reload of word list while server is running 2020-06-05 13:20:00 +02:00
Dario
7030333e91 move bin hex converter to lib folder 2020-06-04 16:43:11 +02:00
Dario
dcfd35b49a Add BinHexConverter, BinTextConverter from Gradido Node with changed interfaces and without base58 2020-06-04 16:41:16 +02:00
Dario
79bc29cdfa remove poco links because already linkd by conan 2020-06-02 13:58:14 +02:00
Dario
2f343eb756 fix test, add initalizing of word lists 2020-06-02 13:49:17 +02:00
Dario
7518832bf4 Add GoogleTest via conan and first tests 2020-06-02 12:54:55 +02:00
Dario
1aeb506cd3 make it more modular 2020-06-01 19:13:38 +02:00
Dario
80cd472597 fix missing word in german 1 mnemonic 2020-05-30 12:44:01 +02:00
Dario
c375e131ed fix new word list 2020-05-30 10:02:58 +02:00
Dario
8502de4b1a Add second german mnemonic set with fixed casing 2020-05-30 09:32:27 +02:00
Dario
f01cf73302 Update texte password reset, remove check new password is same, release session after password reset 2020-05-29 21:02:34 +02:00
Dario
412891b097 Update layout and texte of account creation 2020-05-29 19:51:57 +02:00
Dario
c1f8c061c7 Add hedera proto files (in submodule) and in build config 2020-05-28 15:15:28 +02:00
Dario
1bf4949fc0 Make form better understandable for new user. 2020-05-28 10:54:49 +02:00
Dario
8f1b19ace5 Update timestamp for error message. 2020-05-25 11:53:08 +02:00
Dario
2d78b30f62 Add check if password exist in login, to show correct error message if account isn't activated yet 2020-05-19 09:22:34 +02:00
Dario
cd0b7965fc Remove success transaction from error log 2020-05-19 08:56:41 +02:00
Dario
5c424968c9 Add Timestamp for error messages 2020-05-19 08:55:02 +02:00
Dario
176217a75f Change input field type in checkEmail to number to prevent that people copy there passphrase into it 2020-05-14 11:50:17 +02:00