diff --git a/server/config/config.txt b/server/config/config.txt index 649b483..5a13c5e 100644 --- a/server/config/config.txt +++ b/server/config/config.txt @@ -1 +1 @@ -{"index": 1, "user": [{"username": "Di\u00f3sbejglia", "password": "$2a$12$Gx9p..zJuM8uXdktzlC3vuGBSSpw1/lBCGSIK5d6cAFyKnfoPMPo6", "homeDir": "1"}]} \ No newline at end of file +{"index": 2, "user": [{"username": "alma", "password": "$2a$12$o2fpAd/7HTr7WhuPPbyl9eLMaAK0xkKP9DQII2qcBT.fDHl4PEiJ6", "homeDir": "1", "publicKey": "30820422300d06092a864886f70d01010105000382040f003082040a0282040100901b6cb707be10a944e052bd1813224389ad89399f96db3fee761a61b22ff788cee1e395eece5431d38aa1c1e7b19db21bf5e06985402a2fdc0e12bda67079fd6528a035224d9f66064d5623f72a0cb676e7bf52fbfeba6b28086b7768bd46c66027b7260edbd2e55ef014558ea39887d008ada1b587ec08d90e25c7388169932b8373809faf8dfaa52b61b21a6feeb331dbe8c0761ec7e40a1d7d8de74db46b82dc1fd1bf971726aab4a698c18260609fcc09d97d08dde69c311ee2180cdf82c21864e6d1309d9acbdf1e2d959045e40cb726e395a9f9281ca774927b95c2dd098987f4e8d33973981bf3533109202b2814cf3586af8ed5f18c8db4e53ff4d1c16734d3ad47eff00390a0b2b0b3a9471ccfd45ff0161ba1666079d8da5fe3177ab98bafde1d3b9fe573bc2776afd4c6c4123913dfad18ae153755a2878e11e18729d9f2b876e957d98814902861cd0e87bd269a66986e8a016ec321c751d5141326acf50aacaabd71611b5c3cb4a17ea58905e14a87db53b33b2fdcb59d2661a76e6469f543ed3980e409b7755ea42e692333db06636f9d7c14875a4b59b6ba9adf019984787dbd64811ec27c91e2736d2be8592b5b67dc738b9cee17cc85cdd1c8e51f94c5854947538311aa3a950269f5cf7465f2e449c9547fe330a92daf4c859e6b5297a4b11a2bea6573b7a1ba88b10eb0b1b1e47aa06cefb7a836018d3e1208504df71c3365c7383530b76540ec2068e49de49db5292c4e383054071b3c55a3b3db0c9f199eb5d169364ec13a8a88a14950f573660fbf25ba9e9ddc6787359dfc2dedc94836fa5aa45d7e55442d57b27f5cd73706edf6b0736bb96d737634c3b91aaab2ead0eedbf894934d0123e561b37ff5452cb6c0342b2f9c0814025729607373d54c98e04d102c4dcc487abce23550ebae1f1d5165899d63f9661597ab9a542c36c97299c413b395a8a717948297ef8b264032538794f9fd9079c011d2670489abb136e33b74a586f813383c4ef2a7a677040a446b1e5dfb21cb3663b2eb3ee2c42224b8678566e81ab01bc286783cf07612521aebbfb150f9a14a27a228794cb3869b37bfe69e5d44f601ec80f332f1d897663eb3d0caaf3f6cb10b8f8cec7f2e071ad51ce0f6fea3f1dd642d093412e3ebf7cd4e8e0aae78c820f6abd8c75f89045cd93861e8a8cafedc0a6473cdd536ec779cdf5506ae4474b9d3c1881990ee3a9096e6c22cee72295d39e5518f740ccd743b24b9d164c20e4d5bc2a72e575c3b5fa46b72bbaa3c67cf7d973217c263d9676dc891d69f585bb4c832704e0c21baecd22c2f61871e7790ea8f21c262ea7a2bece735c10cb13b24e42b64c0f04939e171a8b342a44d84cd949736d8240951bf1372e4e4f114813cc4cde51dd72d7e6f008bee3826bf876ebec1b387882edae13e5b8a5be037630203010001"}, {"username": "citrom", "password": "$2a$12$yLK7k.C9ZpWvRV57WGBa4ORlpjfWcrgYaiHsDeB0PS4TtwjHQy40u", "homeDir": "2", "publicKey": "30820422300d06092a864886f70d01010105000382040f003082040a0282040100c813b82bffe8b891ea8eeece023909910729e74e8c140ca6179b7e3430dc341ebb738cc4660e94b08fcc479c57d57792b9849cdeda97c11689273dc203928ea914f80bedb58040d86159f60008fc5cf027057b033279a9395dac9a0d9413e2b4774e76027f82e5914f2ae2fc92877ba16b203be6e7bc7547d9f1f68a1704b65f4cb74e58568b76caf98df1869b9294b9516a495d8f82b752840bec307df91679792424c7cad07a0715cb32252482fd799a31ed2c38b19cd82250a3ad563365cd3c7d726a30c6fc2eb741892aeb6a28f7a0272a45ac245c6c2b1e1b8345358019e503245481f90b7144a4d788ced4ed9bb96e038db1d0295628799398470e015067ae64d430e1926a016d8d20f7a90213eab5e2fe17d139ab3ba443c100c8a5557b90ce9fb6cda8a0cb02e26107007ecf590d8bd729b2b95b29ce81ef7f0dcffceb47ebbdd0a8ea5706f1f0574fcdf3251c067d105f772162158a43594e5cd883121c52dc9559695ec1283e7a394c637b8b7346e9e24c41ec911a7d4991c4c573144cca14b1a3c9c039deebd03ceb226e971c4c313e2c5c2a7bcea9b3fe961389b83631a09a178cf61c88b5877ad3067e22f4cbde7c981b91696709f86fd161d26ec37f40568f49c6955dea32251107978b10b1c156c19a60daa277c3c0744104696065b45bd2b9e79e35892a4824d331f3046e0ae0841b05c0f1bc6320d90bbe970ef8e8ecd80c9ff9817857fb6432b37135942294f8593037e976f87cd3a2e3e0aa37bceabcf75dbe8db27dbe1115765874c249a959bdc2cb55484248db1c264063038e3ec2079208bfb2997c87d9e58b8d42f0494cbc7c3d93bf1f84f3fa51a9ee8052787fc10a0a963b942fe1339ef13d51df7e02dd3cb8f8eb4bdf85217cd8a636a77b1704524790481691d93c8dfa0cf549fd4a61749a9ad14eaeb21fbed3c566095bb0f79e2d0044c26aa01786a9704879fe19b68690b20ec85022ce2467ad653f34dbd5ab51cb35551dfcc6c1b03ca61a8ce8dfd20a6eb95cf7d09f8e4920525e5a3d2c2c46996ba04c29df770fc74d42d06c37acfc307ef770d2b2a22457e26fff425ce49969ece4d802929e0f0a9b5495dff082baf26958157dc8f104d6bbfd4af639bfe689630930cc9121a8bf552b773bc305500873c0fe373a69d0f35d3bf3a541afdb15d151377f664fb56a3b6b3e93e03765d73c26bac9612a226e82d57d93dceb15630d4c634bfd481c71751370d5196f2f2b3c3390f572e59af44c5fe121dc700710c2d7e206abc41f9f7089ce165353e1900d60890a06625269271690c066acb97dd677f3d8f79c091389397dafbf5eef673371c22088ee6c82fa10719c7b7d0d94d76dcd3be74f7ce90c1821f16211759b26303c2a5cb626f400325f9726907b56bf18c049f8d9a79dc42186685cbde0aa39a3a4d192050203010001"}], "serverPrivateKey": "308212a5304f06092a864886f70d01050d3042302106092b06010401da47040b30140408c85360ea1df7679902024000020108020101301d06096086480165030401020410835399d1e0503bbdd392716e6073164f04821250e9b7ac4c56e6eff5aefc3466ffe91293c1e6f48701a9793cb8a1133140e8629d22cd73057ecf2528fd3914707a8ee97caf70f61ce7658f5a879218186e13050439bf85c5d07f7258804116ef6d0eb8697d192d473784565d61ad89811199d86013efc9d0383b498c51a9292075594cd95b5b8ca095c01877b01663553ade09af854168527a8d29f4f371591a5e7328371e585f246efc459a7568315413d3fc5bb351e63e5945e1b418b716fd303c3ce206ee91b47f8f97c6ef4e4380c040a04c4f5267fa1aa4b5392d83c616a27b6b6fecebe0252070bfdd210e562cbfa256922527b8af2065562564a5927564d506154c0b14d07eb6feb86aa4c1d42f5e13e96213636d8c0f1abbb044ce066f35f808b340816e9fe090e76c5779480ccd4ef6c98ebc134e29ea12877314d0a79a0fd12c1ccb6eb5a52f0ca31f5d01fc0cea58cf6d247f834628c6edc2478d2b0305ff7804c7cef58f09cf506437a3a20468789fd77a595721b9765124a5bf84b36867594116993e4b364d3f9ae9af636f3501f3a60330c48f8b8fbdd940e264f03254c6a68c864e155a749458ee94c4e44982f4fdc1ca16027811d66edc72c7a3baa62080e3e3bbf00b1924c1c617cdfaec38575a563a2a5984bedb84543dd8d2075a04da5fa83eac8f5e598fdd6903a991a5cf2e04b013f1af8618bf7f936bd277c8abd950a210bef4a6d22165438b528e49724d5b5af2a1ba452956d3e0543817c673b8c67091d3a5164ed358f83b202c1d4b670c9c0bd0031dc94a2dfd46e3ebbc9c5d83bc387eaee337e255223cf83b1f51a17b1e9882febf2aa0e0f122d010570098dd82e5b178c5ad2ccb291969a7777fc9ccc51b949f9f841f5c29aebf1bb6574602ff7f2c2f125ceaa0b5c087cd27d62cae4e7555523de2c49168351ebdb2590110455e689207dd611a9eec8cb9ad36b913d49f26a173e579ac46be8e1aaa33c573974fd1dcf0b634ef9bbd8c0f2e21a9742a7e37ddb1ce8944baee65059505e90fe1338cc9183593f4e025bd3d5aca37e78626e5456d779ea385bdd212fd392fe64ecc5f110253dd58726c84af8b857ac62ed472be71124c699efd9f8adfe6abffda8f73c4ca9fb439c6821c4c1e209282109824b814db5bdf371c20b47ee3cc6918008db4fd00162571f2c869e486d85934c18028b3ee7e663c1324b1b5ed7185997bf32d6d0e4ad6ae6fa348269dbe313a489997adda81b14b6ade4ad23f959a2022fb917bae9b4973f02fd0484deb74f93b481e2f9372275463f8ad5a5b8430b7ef6f08884ed7e2241b52b81e8aa3e5df17f1ff5f99e9625f5a65aa75c2256ad4d64469cd9579c92c44f04e13d7f93ec522bbc6a1fcd71ba8045c396b45cdd493d9a90b05764093d71fbddb79bf64951d412d4838a1bc937831f978b690773edbedb1a01e9782a6852e0a61e137c7c795ddc38bcfc5659d14366daafd02bea8f5dd37f710f539551efa71b677b13286f830ebb8ab3dd58f0135c50916ab80e1cd2a59566f338601327b47cf3e20709f8338ed42f3fb5bfc0ed0d5d7ed3d7f0bebfd49f21a4e858303daa323b9afabdcbfaec2351eb28fadf336582b468ad9c017dc418d792610e4f8bae3cb50c902bf71a628756e524debdc429f0765ce6e486d51cb4f84a8260168985b242c1c764559d7225a16d49c7cfe7d0efc9412830aee018dd26e541ffdf762ac056bf2d9c2992ca9180ddff91fe1e4fb851ef7183ec21a4e436e46c2aa309d1efc424dee069f920050a09f6ee82b6b0786f9bbf6e93a0cd96296fe9445201fc551e6de911a8008183aca4f0cc6f8b2f8e9e2fcb5f857c6267f300b10e2b35b7f3a80a064ce2628df7de8eddf29e9ff754126066ec15075d413483cad686af644ede965f674170f14a7ab31ab9d11383e83e5547c7ca43ffb5781aab9cbf265efdc76f3e4590a9e0a205799f54addcc586e636fd7e3e90e925dcfe4e8b1ff4b883da019e5f8b1556aea54d86886446fbc3bc52a8f580e880fd6179f5cf3d8d948c03e68cac39e80b88b8ee047f2a015de5dc12dac45468ee5c513d4799b196441e4022789d47c71797cb7bc2fe5bca1b380ddaa2124354ed55e6d928430af534892bf1b411710767dfa59c9a0989f5d84a6ee8360e6e475d394e0df483f3b34b447b9536018c6f246918e61581653647a4238c934db7b3eca9c524521206f7f3c68be38b83ec031a9baef6b64334f6f6ca0105a81f4060071d8883bf36741d0c3b44177b2fea461fe4ec07b0a1d91efda0069a3e85de6c185b0b230365df83e3fa3933a8d17be412d25d08d3ed3c89994d948121688d4c7dc694a26028eddefd733dde68d7fb0b3ab64d81cb511ff34932c471f54e1e2c285d2bdf3e3c25851806371fd8f21b15e4154f267cabd89a46b7692fb72fc6fe19720ce515e64591544eeb62ec1b9d578ad0f23b6791e0c1eaf27113de625a2aa8581fb124fe4235cebe4b152fcdf205fffab225b5a063684bb59c1540f3451a106b51ffe5fa77e9e09423b81a88df15d8cf0679fba0f8be677b7dc57da089e9b979d75caf7f9becd139ecfe1baa4c9abe225ea4f51dc27ab85513fd6d6bedfb6f844e6c243b3bbe41a69a0836085bc8c10b9a38f75621e36759ce8679d968043becd0c5e0ac085c03c2ef83a61c558677563633784506b4741837d0e8da81c588bca7326af7932dcf62ce269f286ecc88a983f3dfc2ce5e8e1bcce854855be463229cd2ba421117026cfabb892ce4612f549ad7c75f40b9b4502cdd4bcd4e4e8102587cf85bfce0ef87480245595f2a145b61569a3bc7c16d745972ca71e6f61375c923f24889a320509c41673ec4f3195907b18e422c1c07a466b3329372a1ba4fbf60c17449ab31ca8064d05712deba1bbf2611c1b2f515fd1ed4c6483dd7f1f75612810975bd71eb3d7bda42b32d5e9d481e31a61b50177ed357ec05bfd14312bc9306edec9be1b0e83b171be29fe7d2076ccabc11591cd4edddbd91ad7623da95f84b788752218d755f54f32068c342cf1cccb1eab084810a3c2e7e1902ca65d4e2e1f3832bf728847b7f7619b20c610b872283a559c54daa347dd890f2071f6b61df7b50a668a85003e331c832a774a3292e841fb9422fa01b3d415f4f878b4a5f15ec175a5cbb336bcb2b0cbc3277f51181e7a3a460ca90695170d94373ac79a4ad3fa8840709208a58ecffeee9da71a4692638eb83f3306a99adccf458af12183ade41ad033ddc6feb121b6861d05341bf6a59876bf27d9fcff9325296c120e87981b1d4cafac807d63536a31e5d2871e6552ce4a4e11f2db0ef219a0f468e0e11b9d42736b4722a414a86781968f85dffe45eafe855b3ddc6e186afc3b993f5b92864e756447af0d5f168da3c9bc7c241711fe4aa56fd5cf04668881d1c116493d8181f8e391164877d642f76ea9f189587f00f6d5ec8993edd39d53a30ca406d301dc109ea148240b5e3ba2aca04c44be26250d4dd214b0efddace062b87e30e0d8e8152f0f0ef1024f653c39abdf7f5b1fbd7dda8a32a35adeda90c05ac3039f39421c2fe6efe832cc1c261a8af9ec3c68a805d952b7d0d326143cde4064fbea8c698b4783207fcfa0521efdf0cee5559b2c30409fa5d1dbf8c0d61570790a35856376c120aaecf3cfcf1b12bbfb185d5cf1c305a45c378ff4bf16884b40cae4a56028d88f07a661efd514f18c4580ffa003b3d4e9ee6b036758925caa40673a6bd57881a4de368018c5e81fe79781a161cdcbf57305699f5cd1078ceb864a65d6ce246364eca785a6215458e2c8e52a45e2e6b0adea86176b437e2e77a8041e67e205b26c41cf71ea9781eb63ebecea709ff59dad12dd710a17d77bcaaa7869b7f5b13db70a99485fcf62421870b91394b210895d400170d55e4c8eb863f9b03523afe74cbb56a9bc78de73f32a80ea3ae319b86e55d02ec68c8aa9d976fbd45a40ffa366c84ad0c603caeacdcf211d7bc90b0e87e97e0313f02d8ed208407cea6965fae7f843f977cb29ba705cba1c1ff3eacf4383116c3c026851ea9bf6505dbd1f6a52dc1af6f5533825c7e852d9662e74e4eef5f3228f279ac9f04cb0268371accaaad5a5aa35005208607f04b151312699d04dfbe3bde166fa3016977dc60f13c57cc879cdb8b8856e1a2a1b1151e9d13e0fa44004aef3e15df5808241c61de783dfccb832d8f9da21789ca02f30f92d1145568e3b333bc4d61b8fe2ed3a4e277721997e5b9e0ad939279424819aaa5c56b79610113d78c5e0a9c2203c9a2c47a2efbaa85d44f0c5c70a3f1dab2c47ee7d0e6ef693c23ccdf1a302ae044e75e24e593569530999ba2c4fd0c6a19fe976f9313659ae2a743404013dea128b1be40dacd4273dcab64a30e60160b947e07a596ac013c6cedac5a2d319b2db0efbaa5bd6b1ed5bca2979070d279aafef0638f15f7ccc24cc255ad60102cc9b59e205234d83ae4507df0f710459bad6839ff3ae9ce23c773adffb5619b1e357d14089d2289e0fad3374a2b273ef7aae12f1a0671bd037cceeeb4f24d72e816c82644a16d18d4c7609ac311cfaa8e6cce5151f8b9995da9c19d1945a80d64984d26e5ca8e1bdddac2d5a5cb656b215f61f9ebc3ed785bf092d2575957803c9b94ab1e0428847f1983ab6af51eb2c1482ec02f4469d369e48fa7bdd0c059a904a32fccf0c3bfa4ab3f33bbd2c12e9f24467012f0bd7eb022d49359dfea61403985ea89afc2f9b8acb776af9783b713a09e56a4ba2834204148340a6b14f407941c7be5f61e5ed0c3ac5dcc7818d12ee567162b9589fef443eb4b496fa54ccb05c74c01b18d5adc13204aa7cc78c326083dfd185824ea7bd90c1482ad673db0241c7bb420f528d33aca2e575fd0cf9b92d6904053aa17664e542866deebe4dd57cc3c5a435c1e6b4dffa1ed2425d5f9ecdd8b1fc304f1b45c40354c0ce31d439d27b10d0be8a7f1613fb3c18c008a1fb0ba811efce1f0b49151cc8e44303fa2adbcb9c35ebfdc269d4e9b13557c8e2afa3c8212160d998dbb3ed018986d7b111e2927a3ade288efb33ca81f1c7ac70c206a1ed976fd65e9439fe18f9dac482812ed261b64279bb11e6da98e34daaa31bca22735dee0376a9847240ae39f6e02af24c5ea31f275648e9877fa1d3b3c6fe61830bb1692e2850ef7a7d26af79809f1f5415e9d486bb349a8fc9875a665e17bf5ea2e9b2c1f4aad17eb513e8ccfa2fa58b1b396adeb404ff292eee8437b5978e572bcda4d867219f7df799f9899d8da0cf723e22ee48c997639fe3201c16bea20f1ea2605b27b6efbde153a9b6fa6735dbb090cb128518fcfc1b8ab03dab2f710ee54d6a77a5b0fe793ea66d5b5e4ada1b748ecaadbe8e6dcb0854b8fd49e08865d323045d056cae355413926cef3f3c00e66b991c30587f1f69ced70625f9b9bd6a26e4c0854f6abbcf71fe74444445edc3b838aeba2c3b4787c8ad1ceb290af6f952eeb5e36f45fe153f91103e99b414c4e9002a347a30b3184dbaa6b8bde670527da0869c358b404981c7a9ada4952d146677a92416e0a3da933f1bb621550942a58004158d80e94b753e60a71699f1640693fcaa40de4f58412e7157bbc1784a4d9852b9a6665274b3d947f18e5ffc0ea901070ae8da5fe072c581302396e02ba46b6b0886918e2d935c08c15f75b313d6b085ba900259d06cc90efe69034b51691ef68146631b508ee660aab0388515a9d1f42b5acb7d37038e2ea7bf1854e5535691f6db149ba3afb4ce3752a374aaa94e35f0e9e5bce8a5b3764223a8a7f348871ba9a6b6d516bf41c4dc51023e17e6829fd38cfc16c632b28e4811f03bd060336712a6011ac446f5446d9da2019ba61779316993daaef5be378e55e992ffba2b4eb27e93a45b4198c4e4166e5633882617289c78c918ad975800ca9f8a5333f8eaad69eda433e6fb60aff9a7f22d7bc3e58d12349ad4412c4a365f8da6721f801caba38e34bbf1760c6045f5d9762340472942efe2c0dc22302c8c8b87a8ddace654e27289ab8e7b11869f633bcf49ffcbf6a0e3ca090137dca98d391aa148928f576257d5f09649562f241170763306779ddcdc6c3117e40cfe7b6fbd8e8c774bbf2ba9eedf9ab7eed2f35866420fbbb3bfbf991531cd17d91d53673de9f8c2f64cc10ef879f71c6ea6bb0ebdd525c749d4754f781b32b989489df759eb14be6ca3a7a874724d229a4b8419e0f7de26c3f34ee1c1326e63802a60163e96b9421657b1e60fbbd8b429318361948571b8034f99dd32bc96977016fc0180660419b0a0aab0274e3fbe409a38b891912b439c07ee9d665dc6d230d59f0b44517283dea800c3c9204372265047f4473f45a2a1a3993ababa207970e0415537cffd01f248f717e172f601e933c02879ee7142aa569f60ad9833ffc775a94681e3306ebc80c88003e1ce9cd2e37f4ecce532f7930e1f6d4f4bf308a776f17f19b15bc4caae81efd2debe09f90b5280224dfb2e2df211c0e26a3630ccd184f21a2d016ae805a535e96949fcc6fbacdc7afdfdaf6f058c66a39f2ff11cac1b8b1c0ad0b41892dba1b175c3c4b0b5f5ec5a26d026c41c4485dac4348beb8744326d8b902747a0"} \ No newline at end of file diff --git a/server/config/private_keys/1.txt b/server/config/private_keys/1.txt new file mode 100644 index 0000000..487e9cf --- /dev/null +++ b/server/config/private_keys/1.txt @@ -0,0 +1 @@ +{"address": "B", "privateClientKey": "3082128e304006092a864886f70d01050d3033301b06092a864886f70d01050c300e0408ece31e498fa15bc6020203e8301406082a864886f70d0307040838390c242b48bb5204821248bd9cb5ecad742c12c6a253a9aabc41c2c083f5af872b4933ee52e43cd5c2dfe70b2493d21f8a903270fe14622985e9a63de76d3f43ffa07037277fa8837b2e137b98833becd7f635f2abcc6694613ef0c0df34e0528976a5888fe78f80924bf623a7c822783cc88d05a23b400f1280821108017f6982b11ec3af847ac36559e2a653995033baad0b7a143f47558e5140c8b86fcd26d0777ff84b81497b4a9e37f7138c8aa60814bccaef7d966a95ee7e24f069d5b39e6c560718e99090c1e9185520cde34a335c05620d9565e2e4959a1ad6090bc289856a6649dbea5d262972245fb7650569135d6ed64037a7db009fd9d4b1dadc457f085afc49820fd2ba307c1a48d105558b360d04b7666c64bebfcc067484ef3cad1a5a1ac8b2d0ef504f4dca0c6bbedee8be27dc67cf932fe2f77350c38d6b7187c5968d83f6b9c683e7446b6cfd5794992ca10803468f33bd368a65337d1f299c39f4eba196565bfac825efa5cf9057e83d60f51bbc26ef203b47bd233214b0c2ffe1c071d280c810ab4ce69bf2a287abfcbba0578705cf58b23a3ef3dd8819f4805bc4f116f24f77a387c0c494197334c72face9ae90d01bcd4c12c567f1794501aba6c801af895b125e774c96d27aed1970c9cde436f7c4d467d44992f37e6a878c418b3d7463434c76970a74df6fbdfd5d147ce889f63276d59c1a7e08af5cebbaa2120807f66a823d9f6e2a75028e9cf9bd541b4a2cc997b55fd47e04f83f049ff2e2123bdc73abaaad8009417873e0a875a33975fab2e6d700ef8f0827cd43ab4768f62e5e4ebaa1366b41452fe187b924f8cf6c0efd4567b4d365c33336d913cc383ad83eca64906f259dde5f52980bd3765273a677578a3ac84b01ce098d92debbd817ee9cce8783ab36d03c5fef66a2dbeb81a81614dad199500f5a9bffe5e1461e9bb59592422f775d81af2b07563742a62853ed208fd19296b2ce6c1033fab8f75426e8adb1e38711033490aac7950a5ba0588d62e0c3888e46b278d02bbb3f459a44156872c5304dc90e65726c733cb9fe0a32712e35e98b4f8fabe7b7d18ef1e0028c8d161ebc90a46cb4d12f3a90175c3928520a43432a9367fbf121f4c116928bcefb2b5c641205cd24c4596fd41ece1b1c0b6f55ea1122666cd4d83b4c06257b9dee7cfd3af2c69c22feb667988d0c375fa3dba0ccf5a2fb797971ee02885013eeb587c781ee1564b9f8c56b9add0b6b93c01489fa4a3661f97c696ba55267b8c5daf1c325bbb048cd637556e59a6332ac9b28315b7ad0210a1c0cf69d0c55b29e5e4d2fcf1e16ca67e111f3d16d59e174976b69768425feff4602bdc350b00ef062de6fbbe696e179c48b31d37dceddcfe98b88d5f6dbaea1e9287ed95f85bfb3f3b180e9c1679030e68abedff5aaaab010be0105dc7135658168d9bb9efad34a0639cc476190225d6cbf733f9d1ee650939ee8cc73a52e97a5924c918dd239d355874aeaa57f7f061c0142fda2e0dd57afab94f943b826761023156f69f13cb91b60e95cbe1dc09f8ccb036241d4b2d6f75b66de1651d12f990d62939b9a9962bda7077411ef3c69da3f1a080aa89b7f8ec6e7c93e8551446c643a33f151a3c15ef99b73ae4b6285a0ad7b1f7cfcdc7f108b55e3fd0dacc7bc0d5152eefbed9e1cac16eebbb5e03cc39d4a233ccd9abb817d2bd5c3e21eb79a2b4c72883d4f6e1fddb1f12405766709e7ec63623d366f7a36c9b00fa76564dbb3ce2e896ad03fdcecac7aec3a8296b03c2dc1f76783cd3a876f64424ec684fdbf99189e396eafc54b06649f075ee48c8676df00de6a595f1ce7787b5e10db05976680d773348c57930a67d8edc8fbf0a8c571fde34bfd6ead648c82ab9fc00b8f81fdcbeba58aca76a8057292696395238b450f006a817b4538ae337932c9c05a6eaacae9dc02188578f24f4a216fc87247c036e20421ef9be84eaca2893421812bef738d4d6e1247c485fcb41bc038c8132b8694e666d23309f5cae9665a814be16962e1832ad703f1a1910040c71a10f4a526224ce42c6f5a8abc6a4dd71788d0ce4c09b8dfa7bf2dee218b551a492eb76d32eb31275fbee0f54147127f5b9c5bae0cca38f79b51fc01b00c5f1051d8111cad19700503d6ed7ce35fdfb6d8b56d3df47b3d36bfece51730b1fca70b6152fceef49644257e7ad04933124c00d08b1047f67c2f3bcd8cb5a7cdf59dc3bc596cecdc5ccb3d65b1607b0f9e71a687627dc56314671bcd6fb6a30ce37cdf587dbb83818c93b46c345477d7efecc6edc883d4eb40b769c4fde09503f6387fd5aee3999fb87bb6541a620b976c01b3eeb73829f9faebd78029baefc39b84fcc8f1c6400eb6ed6607aa7e96757e32f93721571fb4b1219657728b5ff6f0f160068830b200e6cee9866b7593703b9c1354196bf935b72164c1bc4b60327ddedac7c2e443c9a310cd0e5a2c12fa2bcbda088ff95e91b6e8af1869bbfee78efd4e63785bc50852054a0570cf60e454623291640646e305cc9a0e2b366b75ed7e274b7c09274b5172e97af9d12b18c7d89e087fbe0f5b192dfa629af4392af70f5c1ceb16c7a54855486216562b0f14d53947af1bbbe5edfcc92b26784f0ff6220e6061220242b4c9d048f6340ccefabfc67d6350c9990d1a4173f4663dbcf20b62e345badfa7a313dde679070653a25655f91c14ebd304595aa5be8956ad3e3395d234e7adad2a29ded6bc2f9bf5cd11ce1e9a0ddd9b39bd69edf5d1ec2bf1679c793a0feb8de37b0fc22b295249ac44373c3f156d64e1693fc76a5e3bc93839e56a648a579a4b4d8bf3e07834d10e22ced8f0884f213fc201a9f85cd7e7d146d17fe5353daabf21bdf2d53dc3109149b2cbd2bbf14a60589695d264d79cb05db8b00e43d5e75e6c9d798157998b84bc5633280161e86e2418d40003f9a24499b9fbf27126fa2a8cddf6f0e0beff44637e072ba122b6b9c36843d6e6ecf3c1557b8802c15d6c4b91592ccd302227d8f202aa2d4262ef01dfaf66ff71b33b6b6ff38d0cf1364e9afb7045702ace3ea12fb4d6fd90bc1590fe7ccd2b608c850996936b69d2034057f69bb5f8690397e721b63a98675b4324aa7d91af411cbca2c8b3bd54813a975bb1b20a4aad504a7a18644ddea574de1ecb962df9c2801bdb451b6d8668dace02ab7ca34a2deb89381ba0d77969c26b295343203257c774db0b97e60327ff5b83cb3255a2ad06886ff65798c00dfb9db2d776771d3d0c3a918a55215fd167d56bc5b692d8d861acd86fbaa48c577b8c357968c243d1b90cf8e65a4d41a9f980a520340e78b88b4f3f3ec09eb556a8d16c67b3444af1c520696de0907ff1965b573e26c8f4a81e7c8238f62f335b4b26ad2eaedcf885b45684268fd950ed3b5aa3b3681fc450c4e6c37e7e41408dbe36fdcff72f6761f6b2caa1d5995ffbe8e4b3635aee5f2b3f0ef4599c9189a463a79c46273a929b0dd35df40d3d4e813b8d47195490b00c8676c0148f0e5a884ae3a4139ad6fb0ec2a0f4acdeb927090715c2b858f6e943305ee1cb505c8ef33d1650391c109e0f33f6128b633a93e3f0b10733a1ad10af41c96462d9c75775dca4f2bf896df8269766a33c8b3e87221f82dbf1db6a5b2c4e6d778abfb9f325c65f63519c53d19612ba15bb4f72eb82f4da80cdb00b09917cf4ce2d499a84ea0e7f6e0e06b4dd5654140cfcab6bccf44e3484d24fa88977b222a511a1e4d49a2fa9d07fc6cf2c2b4f30f303c7de5c612f239716cbaf3c7d71259080bf23d668f9bafbdfe8f405364b562ca26dccc29077081fe86a6ea9b19c39c5d7d70dedddebd9dd6f18393919bac9cef59e070c0e29d75f43ddd100f930044ccd687c1f16be02b542a9f5f24b58128c394ebe561316809677be66a778be85fabbaf0ec75ca5499c98c5f2b32fdaba08e03128c91171e2b688a4ffecdd7250214b18b28d5bb144234f2005e8dc3dc18a894dc66d0c33031446a3599821aba4c8b48d332130e0adaa973da35924650d1c928d6c133730f3ae1ca4b5f8aae6639e393037804f2ebaa4784f40ca4a2c507980121256cb2df4d6c0bc9dd69d741cbe15aae5c15a0d53b6afe777c21281b259e2e997d6f5e7f1a84f9d3ad7a7f155002633a30dd065f6ec3e2b3c6a6886ac4b07d20eb6c0b7acd9824a086abeba996ae3e3ea43bf83caf20575822f4879c2013fac7b46a3c8a9e7985c1817e4afc1f634a7633ad7afd4688d641d03e72548c2160e0b4ef3bb511fa28e7f84e6ac5c1228d82fa584210e0229ba829e4ebbb7b0f794af45ab1d0c433a0315004f8584a7a2ebc3421a17d3c37e823461016c6e173f602fd02de9fb13393a38179528c7dca33970c4c7cbec7a39c97ea5a2fc2f14b510d1c887a5fef2c1bcdb57f1854ef66cb80bc4568ee8c4f40c0cc1531619ac25e904e1a6d222515f0bdc727b6ca8263ca056d3b3c3ee24f2b4f461ca0abfaf2fc24c52ba984cacf24a7339c29384aebecd38fd3501254c9fff93811bf32b1f07adaa7423403f1efff2af271d07665f55ba6deef5769d055b9e470051d4d9078307e3b441a7cea124ff1b22a4f81ba84b20bd22426856c79346bb112006e07fb6a8860a0d986fbf2adb74cc53f3c886826e97588b72c7d0216e58131ab5509109d085c519d9cf0fe516edb55d4b58ae7b052654954c0006117cd6b73a113b5419123e1b309de3128c254dbba3bbfba670de676e2e2a4f6638261288a64202e915b29e881814ccd309174dcee20e705fef1fe47bb2b344ac686fe3fdea217b6f815c8f4f8ef0e5f5545cb9e888f0ec55ed6d49f59aa8168aa94e903fd82bd6d49db455223d9a744800e1f08eda5469148aee5fc9d158427c7edbf85946295ae63851e63dc2496c459738ba75631a89a0d3667ae73c082c52b31fb2c3be16ed1f18e10e02ccd2fd1a70b6f5f24b1a0b8915e3e143807d5144f110499309eee396d914ad2c7ac74c84de922323376aa9109ad13056baec6767ebe5faf6a80c19be627371d802242046bfbb0b8352b4fd8cacf233acc012a86bdd822bff5b87f7fc003c6e65f22b6bfe1bf660a0dccd4a0c57d8cd05cc14f102f41ec9f8a24ab30a4e380eefe5374e0d6a15c72f0725c50e0cbedab7e55ac0e21ddc5ecb290d6ceaa74dd3928b84c948439427f88fa37b8d2871bcb5cdac86d90d8a1d7450c9567b610626cf77837dd26abe384043f37302dcd75d09cd9e1b809adfb67e186baa7bf9dcb852b0428c95d85e9c931ad0331fb24b510ed26507d23e5c9d77ad120f93b4a02e2d75135b230f27904a1d718018107f6ffb8390c1556e4031226e2b21f3cc434f47cf6845b33e74a6c77d37e3fb68a0be174c4d01b235bc1c6ec501a310b32bfbdf1368c774107219228fe51e943b0ad99574cd629577e61c656bc71e4a2fed331d53c450e5c93a7c4c1ac4966b23dcb62cabd3bfff1329ef2ae8613ae5263b4d7146d7e035fe3e2fc21fc7e94a842406e44aea6a092a00e05d9e52c71c212b94afa449ee191f06203e7fe1b29a4a9d9cc711378138fbbf3a57760827d50a2cd30925c25642382226fde124ac8539a87a05fadb1cf186e6a82d3d5d5aeb4df0d64e7b770f10e1b96e5e5b7b8ad67514acd14c0f028dd6b5bb819d2ce7943ca56031aa662fc3eedbe1aaa27c464296bfa805d0d6f3f2bf083eb9b9852aaec463128d212baa91a3e576662789b92b4b2b67a326a1d97a15386081960c282ca558deafecea7e9b6a22297a061302d7a5f2c48fda9841498458a9f7ad11f41f2754e45514dd9913252ef70800b5d4eeb9da97e010f3e2c7b552d10cbc15d5badf29e4b06ee77e61ab6580411c416adb9b28e78f38c1dde0ed234dbadfbe080f54a365ba829e9b78bfb21c8a2af88cd7e5c7d3072952d620c04151ed42cc8c04893372a6de0bae1e9361374ce4a901d79e82446175bf4380a917306bde1006e26168b1229f22b81b30bd17886c903f90bf6e08ef6885b3734ce766e3551c02060906399b8a314194cf08d9796032a04835f2766476b073860339393e1b8956e67bacf5f8d9b65a0c16daf8e29bc9d98512ae6f5eb5cdd7ef506321086daec3024df7bfb014eb33cc77e82a56f56e08f9dc4748deea31108d5077c5dd3d2cb333dc577ced8f94ed3229c42691effabc37c4816c3e38ad6140850c9687423879065aad92199c215bb6d40013717de7343b82e8cc6f48bdd1d2868dfcd6a11a8411419b549ae4e9d6fe3518103f002d24788d5142b21112bd33e01b553167786743ef0c1d670655543ef562acc789bc85277eb4150c9de45e6e9e01bfb940b204168f981edc91f717b47f96c9b79b77b9bada3733095d35239c869f1198a6f1a6c88273db51076bdfc5721aace0708f9d76ef4f1b6534ab066380058300654324cd9555e19f2b22a2a2e95fddd8a8b79a378397206366dfa131bb39d9647bd8cc404fd2934e24a0b09ae023975b69b9629bb6d9af2a95f9875c9f4c610ad7835ffd1da2f8a5304f24c0d2a9379db614fa96ba6447e702f13e055976e9c13c126d0f0207af8b5953bc785c8cd8e199b1a3ea3381f3dcc16168d789b53ff7689168e267b0", "publicServerKey": "30820422300d06092a864886f70d01010105000382040f003082040a0282040100d50e40b8ff903ce7c7e4356f55cf68c2a73295ef3a5d79e606652e983609ef121991c65c3e914694dfacc25f75f2d4b6cd9cfd2d4e8d60b85a8b11c5f74178132a59da227f7866637393ab60eb538a2fa65ec3a62f037a58cfd5dd75e5220d086a95796308bc4d625d468fd645a689da6bd10e17554c94b9341e4ec5373ee017dca2146bcf9e2b4c38910493cd305408e7cdc35b8218570326ed3376c23a060354b417edda4563445b07deaecd11877a42e0058b25439587b0fceb9da6bd521699be5fedab4b5f1a712830516412c846d74dd94e3dc67fa6f775a15d2bce458cf00543da04c1cd11046ee4e11b29a18557b0c004fac60f10b107419c99be771a07da5a5b2f75aec1d286dc0f481333f0bf35ea89bddcbb442b1ca8ee00fe5bd16e4a294808b7d7c848fe5364b084dd2d06d4c987dab1f970af0d9900ab5855050a9ba7da32f6407b3f804ffa463d1e22d40f4a8ee64192786bf4d03acab6b533f86326c1f3aee09c3e109e4e9b62744964ec46dfbad397f0c74903cd990d582a3730b7cb1510952aa4bfb0f496fbcabe3a408478f6d5addb049708c42db6eea63fa788891cd8e018f7131e3b03db498a31cb89095b2b329f50cabbba4b3ce11877b23a7245656d0f3e6dccdf7dbaaf27faac3cd95410cfa6913252f57485aac51632a614f6aa764948c3ab50bc600eea0f59dc18db5e77adcc7b39046822166c42f2fb5074c78f3f267a6e00d2425a6bc545dff1924c6c53e0ed94577f34153ddaab1921c91c19b4086f7e173a1b08076a2798c8858b1119b7758100bdcd46cc9f231325312e810b19128671aa160efc9f28fdccfb2a18f27854a3c6169981e5cc38f1a4ac405a1e8d60bb8882753986828cc5da6fe1382ef84540ac4de78a961aeabf06d39ab5ccc524843a72831bc9adaf8d0b745935e53469123df093c2da1047cd816faacf7bd01383514ede98bce7e0a74f52ab88d3512e8c61a815e3071ff84f1c577e7e2936baa9927e23e13ac699b680275b3b7f07767d16c4f1e32209e8fcb564326ca975767e28ddd0ebb82fff7dadd00f91dc939f7fcc553b95bb52f3b1d7318719f40b67590f0c5797c82dc0310c72620f9da2c91f2732fa64268836cf0d8f9a7c78f12eed02fbcf54e1091775d80e02aaaef73995aaa5752b8bacae44580eee5ece8d584ea1f047b28e4d09256c0e611e32061398957141c61370642146ca7eba8ab4278fc0bbd723ef1271c77121247b4a81de4aa6cd7c2b4c064c710ec65eced7bca4010e062357a338748b9590e5a8fde6121f486340059f828ae490d83eaa5837f81978f03ce06c373de8f22781dd76a635ee7d3b095c08461847213196c0154d767716db53a13660daddd00fbd1ec01fff74579d211d4810525ee20f9fd8d77b6b67980b70cd67c9a91fe1d06cfec721aa407062eba0210203010001"} \ No newline at end of file diff --git a/server/config/private_keys/2.txt b/server/config/private_keys/2.txt new file mode 100644 index 0000000..e4c4f57 --- /dev/null +++ b/server/config/private_keys/2.txt @@ -0,0 +1 @@ +{"address": "C", "privateClientKey": "3082128e304006092a864886f70d01050d3033301b06092a864886f70d01050c300e040843f85cfb360580bf020203e8301406082a864886f70d03070408854951488c390e4e048212484a643914563e00a704905004a3e385ac8b7f84922fe0c1a25b5dbbf6c73f6a9e2b7ce968768d21bbd7c6988e5aeef8ca4a46897521da1dddc30b5a7221deb05fbcbc88b26a5b156a8aafccf27d0415e4fb289d9ca3cbf191214d132e58940ba9562d31f9313d0203250fcfe3618efa2d57f6cd3efd91dfc28e4b061b810081b603c5d9cd58fe42268e8564b9d2408952c8694c225504cbbba21c7ae0fc60ad16d6a12a331d0fdf6213ae3963951ce99950f669ce115e134c21a159a6c0e1340f965f57cb124d2401ed21f05d5312b52167bd946a250ad8688c397e9c947fbda6bb05bb82cdd695aa070ae28837a89b009926fe705d327f256496645985f8fb438ab90ecd136f8afc414351ce8fe1083e7a2463d65b6ce719f82d830dd7befb738df4c5ecad3d0c6f3e39ac16e70c53c28d086c91464435b50caeae8f2912823fee03e3d364f9c3d39234caaed82dc1e400b712970dc9bffd9a2002c670450e0be4228eb4dd273df7a9bd9df3a220c965d7460047c156d132844e4238b4d2cdbfc1a60f9c5fef62a08a57edb62ee393158a13a83ec51d4c32d0e3c83b118f1c694a9a49a181ed384ce6703b38b5b002b2300b62aba43bf3b6a37a7232c6d51c8c3b02718f40abf17ea1b33bc42094a2c4e5689f568de7e9b1719b2b93a92222695476e969def39ba0a90a18a202e3d81a28b10ff5d7b8a906e5139cd1f299e976a0bdf5d5237be3c899bc215a52ae70eb283030ab2f2ea7d9cacbf08ebdd41f4b0f3418ee6034271154ffec96d733ea85850bc7f446d43b28c898b852e21a20674122855c17cdd26912877307d94daeb62b7b87d8c28418290992cb5418113c074754f5f1db18727314f1de5737b9cd659302a31aa27f672be11165b3d7731f24bbcc2c34635317899cb81474fff3bc9224f3a8307a3bb1708ecd53f84fc0bf1c1fa28a104a94b3364d307f9bd0ee819b699e130b085ea884e032a443714d61da214563370d1ee921ff8c564e45d6f35a12ffaa55015f212d59a72d9cfc536005facfc5a663f58b759baefea83e46a5f623bf7177378ac17d7a8dc0eef1527aebcf7d7555c5d81a59ba0dc8c40f8366048804e7cf565ee046385dad20e283ab46fe4a40ab29ab61f1f8cd4582dde428df71f4d213e8b3030cf6ffff2818d38fc6a54900fb8623ff0d8a176b3964acc727b40a69327f1891255afda35f1ddb89a9c276683b0831d51ef765d132dc1cf2a0a5b1a02596350cae2c4db5c38ea479f943d7edf41cc988dcab0ee7d15c8572d2e4ae7c2160465093a1fbe4ed704ce0d8ed28331ffa8ff0edfd7c70fb53f25eccb30143fa3239389d48f9f3a217d0078c28126c692b41e4132b62dced8db398b1574143456a9dcf0388d6877c4a02f5ecd192f9ca0f7ae56d1a7e2f97f3a29222f0789ef6378115a8847e098d0d4bde305487a94cef3e36e8ae1766e7836d0ee55059016595f77b2bbaae91fb6675247679a7db0cd6cf514f30b43454a68e560242adf7406e86074372ceef00e4f659efe608c56caf50ed54c2febb1e931401e03dd79cfefdafd55bd1450fa086fd2cdd6d02a1f99d01d060b6ac68a3d61cc5806ad0ce877f0fe2321e012d7bafa926511f327775676c58d120a00d4b00f07fe7583616ea9fecd7642c8a1a38c4147c77ea9911612b443f93131520952db49e0db7a442201626752e7148586877460247da5a2c220218fa5be5c03e2763a2542312406400e89b47f1b9c20abd96a8cd7e4b505b835d01a25da682306425c95e8ae0cf34ff4941f851fd5a0433614d25afe60fea070c6b2a80b0c75109924c2d808551f47320fac050a55e7aa6b122d1314cee0c1759bb1ebcd44086b3003ecaec8ec5f2cc08523b5ae308cd48df739c650fdce2c35c06f72e3fa5b27008a31bda2eb030ed04261592f9b797db233d52e9cf4bdd0d314d50375f4c0c7a4ce40f186630e0bcd3c48a96d1455af74935680566eec912a3ec2bc3f7693546cb21f1b8dbd9b547c21bb515e318855c3235b760e11bc2d133c943a5c08b00975993e7ff12c720db41a417901c1c7794ac8d16a2863c1fa1b1278ab9d5d60875b1f4be6078dd6d4b9c973921cedb8c5c38c099d05b49c6ea3329129154d380f1529138f22417d74b1f92e0799eb3421ab5f5288e688e9b59e9c8c0c36c0721041a885254103001701ea402166cadbc509abba786d406dd9122228994d2d2dda3994bd776045773a85a77af9f1a06d41bb00aebf1ffdefd29a449bb37ccdb91ec40e1a653a41cd242e66336823c0805730ae7ee2df4dfcbd07bf798eeae7af2ed9b16e4b5cd1a63fe9e28ee0540f113eb36f5e48c188ebc01ab44c4a1ff8430277f74d64a587d55d2e81895bb8fe8572934671c5786ce649bdca95162d0797fa186c4e64d207d531c16445b534cd73ba0a3f9dd48032dd4cc0ad517628d220e429f96637f0e4b185a9082c7169878d1e4dc26f54255949f1244c4f3675fb767e3813b33c9fccad4c4df26f8dc57d251f5031c02c20561f64077fa8dd418f055bb4f5fd85b312d5e1b01b0aa6597950676eb05b14e61dcb619dba298da2a9db8bd5b65c20b4fa098ca6f5b3af0b7e21bf4abc05bbb530258d3bad02e13ab0f552ec35b4ef50b968421536ab4ef199ebf95288cf947a2115be5e7fa2b31c0857f0310e79b2daf907ae0c9cc906378f2fe0c5afb66614d404a78b899b43393e962f383e0e4d70d36a3f44c484538ed6cc8a74cd2f836e516f52dd2c2c11051a085b2386ca038fcbbcb7d61b3ae9bd720b867fa1ed90bb22f60e215e85c127eeda1d0e01a28f9c6d9770262aeefd75bd4558b5c0dd387861b2ccc9d6607e2b87284aff3d5ea700b42e2c7a7d775646a8cfe13e65a486557c4c569bc5436584e0bc19cfb4e5c84978fb52bac12681c41e338d1ed5207ba7be544d2a7cfbf25a8bdfb4e6e39426165f46f8d61bb3acca622141aec434ce08d180a56196821429e91b756418e99a995018704adf160598a69f9844801fb54366d4246d12e13273ba28c216fec3d90c8d400f3abb3c2631bbc7d4de970fb155aa00c6401f30fe7e722234ad762e9150a0175eca14b1ae001883d60ec60924a02b377358bc806852b05c11c59b87069871ce4dd90c3e84d1538cc26dc0bae09b74ff0fd5dc7f63b8efcec45ca84e3c9d950992d9c5bbdc53b3171b74512da1ed720cd588b6b9faf15b0b50cae063eb6f59bc8b74bac5ef0b1936542b0821cae6c3242a6c85c27ee23ac2641006301abd3020a4f6d26a7857d8f91df7666851eb1e5e953bb3f634c5f81d340489e01db21244aaea5a301c8d73b16e01a60be543ae62ecd555a5e4892962ef1caf9fb7fda52068de29d1c7f19a99e8118f79dcaf2e43870d29beac593aa97d6e1a095996ea519b4d6dd8127085d054723225805cec8414f94d14aba1727bb93de61f6fe3e4e74be8fe77917280b1dc34816841cc0ccfd8d0911ba9372eaaa7a29d21a652cf30522dbe5b0612ad1935a54649c5695f4f11d56f2422f0d142780a8ba451ebe7b9ca7a9d32842959abfd63c7aa699b5ff29b784b65a53ee158ef6873606dc71c3d43138c6404132787b59a58e198c47899b61e4dcea84e27f77c42cbe1f715c80c386781e2c6b23c4dc33b712301d31ca4e16c528afe1d5c87e0797facf7c8c6efa91e48efb374452734a5b22909718f81a8c6a00cac98afe2f6942b89b8773ca7f303a90e89a87460e756c56abc6b68841b2b466ad5fde75f531a2f9111cab33db0289d8f4ba4dfc1713bd217f4f4e8b623e907f622df51ecbcfe526a9b17a92b842802dd74420bfa86157f1ff1aa9b3f687b191fe90d93af52f663c00228e5d8a45d8ab6deac441358b33f93c75631f490486c2ac37f2f96cde7337e138e84784f92659cefc4ec03ce833b257c5d50ee52bc35d15d9cac436b3596f43a5f59292f5963b5e79bd80e7b67bfbccfeb80410312a11e885dc5059e4b7231743d7311fe34ccd7c738ab2b8e274d093f53544c0aa32ba684e776dc5822e2e7761a2b8d06a05085e3ebf078022b603a3c8e1544040cfb874341b4c21dd3d47b43e1b0327092061c308bbec4368f1b49835d5e96ff8039de7346aa0bbfb5c2daa2f385782e18389413d74da40d4a8d42f00ac6afec932f671c165f8f74f831ad78034f7e107ecece45b8c59d799095bd6fec1a2c384a4eb9ea212455a1aac6e436812ea0ca52a80888b385ee5a9e173cc2b15e16f5fd22680b2400393daf43cc1ffc898c1e12434b0455d2cc0ccc3a8e19817eccc67060d7b0b78692f3a89312585ebed558b6516d91804a8522e18bd853288d5fd8c2f9ee16efbe7a9b85dff0f116f8de1ecfc6182b53f67cc6532cd3a69d57f52c891ae7efc8ed33fca718a005e1dadf0c604960da4fc2f53b9a73f43700e329d05819e9c546e79c98cf0ffa3811b29ec053983f77dc94f0a98493c5cfcb203786bfb787f5cce3bceccb8859e8df1ac537b5610924453c9fe0dfdd55a3db4531fa9c98189dc4a18c73f5c7e35e29179b93e38399a423405655ad099a5fd198e226441d0400b6640df8560fbf5ff7be893cab7c147dbaaeb20af23bd0de9cfeefa1e3843e6b2c3f8ae58aab1d182006850e66c27f81ce66ea7f3a8ac1b2ef9e7d1f9e344cd3df73bd2bf6f76a236d508ad112be3ecd1d078b51030938a7ee0c8bb90225c79191f3b92c49065799c0e55b46bd5e4d6c810b68c3be0c9840d6c159e46050116a09da28b03718524eff8e660fe806eff13da80897f87ed646f65f1352458f879037fd519517278ee9cc1a39328ca8949a393aab6acca59f9a6534e74bb30f02fa4b88a2f05f6c6c940bc55f79593db355e885b9bb339606ac42ce681ef2f7e165a8d31e6545d47666cce9b861a452ef0f8c20ebfcce0a355226b0f0512706f884d09368f214f570ae16b03cd5763ec86efcb4e0a31577a7a65bf97041bb3e9cdf336f19682840d362afd76560992cca3dc37d13b726ca7e96f7495b03002480ebbed8cf5afe43f436d949b32e9606a620107caae9fef8d71f3ebb01abe8f489d92cec93aa1f4feff0aa3779ad5845577be3cd18bc4c3546b13cccbd8e8e821848d48eca78867f75151ed46d1972139393c8b8ee8daad4ff44569a91c49db2cfca730860af0506e826df9ed0dd9a4a20151444edf92fa469884cdccc0c34707b5053579443e0718a55f43616af012fc8b7d55a1b804f44b9990440d251f5e72d5651141f59811b4cf7c3560537af52d0d6a7feff07c639b0ccf7e3f9b5dbf6b16e91ecb54bc75f67d23a669204bbf3f98e5181d752633d148eeb1d2068797873e9f8999d6c099ece847f110354fcda7946cd274b56ed5105b409cfcf9c188cec33750b6962f3f06615e685baf6bbbee950d43348f1ff8a9b5ff2e1126123dd042f7b51507f0a8aa2f3fbbbade566d6b24af30b18cc33e7abd53b6c0f4674044ff3016d63b18d1d1be13d6215ee2d828d014509a40aa0298f85052a300300289224e00e46b9b3037171d5cdc5b6fd14567392c56f95a8ebeb05cbd2719a03e871b0d721f1097a8eec0a8aadd93ee529455b09075effa2bd55228efb67291633d609b6a7130fc0d90103b8b8ec1235567e1e6af64cb5a8bc3a93e81fe688b330e236f2845c664172b2dfb866d7f963b6d8841e50f7b27532ce4aad66c9dfd1135a549db755b76315b6675f1201d9daed2be618c4a02866643afcd26e10b3a46f7f5232cb24a4d5ddc34a8511179f5f06eebd50f0339b5edccec3aadb9ecc109dd44c58bc9ba4ba0dc827b620b7b0e85db764a7d4b5eb0d42be83529af57bc32fc0e156385e6082769109a610a925bbf072c96261f3639559069790b7633837a3414b98712b14615b8838548059e39bee528a6596f4695e2323a5dc1ff63776e58f21896d3cfcb0909d043e7c75b2b6aff4b30f56db12fb6de3178f4994d2bbe2c573e54b98eb103fffae250b82a60ae8e145d54c468f626849a21002db2d852daaad3cc0ce67b74fdd0dab5bc634afc726070d59d44b95de192a22059b4c40a464c7c69ec8f4746210012113a7ca42b73ed6cf1f0d014012b1e3f79744e5fb45f07a7f3a0758f743678547306300f8e92a281c8a2847a9026fd9815d0c20bb30184c4f44110548912a838d4d2629be3a67df9e30675463215340643cde564361311a92d728c5356cc954b32cd9349a1b8efdb9354e1a7b6bde165cd18fa92ba29203a72fede9b814d76e1f613276e227cb6b5792ed8dcdce717880aa2ea898a345c70fd15ab74f2cf006855fa7c7e37c7195f1ef9d8e6c1df45d154ec51fb820aa4ec14cde8ff65f9bf42da77091bafe4fd43ad1bd8bf09f30cb8bef7934412469a113c1ec99e69207aa8f971c51e5972d08fe253fe68032555570cc5cc1aa37a5f7067b7dc12d05075f9a7b023e6de89a3561a789219c95015541c1ae2f254b55b5bb1ac49abc6689701bcb65e64bd3ee453e324e395d824499fa569974535525a1bf1781acc5d964ac12df0063f11968966163fa18ccad6de6c8639b8ad5c2dcd584ca500384dc785a41463984786a77b7d1e1b2f0148439a1dc4e941872e2773b1", "publicServerKey": "30820422300d06092a864886f70d01010105000382040f003082040a0282040100d50e40b8ff903ce7c7e4356f55cf68c2a73295ef3a5d79e606652e983609ef121991c65c3e914694dfacc25f75f2d4b6cd9cfd2d4e8d60b85a8b11c5f74178132a59da227f7866637393ab60eb538a2fa65ec3a62f037a58cfd5dd75e5220d086a95796308bc4d625d468fd645a689da6bd10e17554c94b9341e4ec5373ee017dca2146bcf9e2b4c38910493cd305408e7cdc35b8218570326ed3376c23a060354b417edda4563445b07deaecd11877a42e0058b25439587b0fceb9da6bd521699be5fedab4b5f1a712830516412c846d74dd94e3dc67fa6f775a15d2bce458cf00543da04c1cd11046ee4e11b29a18557b0c004fac60f10b107419c99be771a07da5a5b2f75aec1d286dc0f481333f0bf35ea89bddcbb442b1ca8ee00fe5bd16e4a294808b7d7c848fe5364b084dd2d06d4c987dab1f970af0d9900ab5855050a9ba7da32f6407b3f804ffa463d1e22d40f4a8ee64192786bf4d03acab6b533f86326c1f3aee09c3e109e4e9b62744964ec46dfbad397f0c74903cd990d582a3730b7cb1510952aa4bfb0f496fbcabe3a408478f6d5addb049708c42db6eea63fa788891cd8e018f7131e3b03db498a31cb89095b2b329f50cabbba4b3ce11877b23a7245656d0f3e6dccdf7dbaaf27faac3cd95410cfa6913252f57485aac51632a614f6aa764948c3ab50bc600eea0f59dc18db5e77adcc7b39046822166c42f2fb5074c78f3f267a6e00d2425a6bc545dff1924c6c53e0ed94577f34153ddaab1921c91c19b4086f7e173a1b08076a2798c8858b1119b7758100bdcd46cc9f231325312e810b19128671aa160efc9f28fdccfb2a18f27854a3c6169981e5cc38f1a4ac405a1e8d60bb8882753986828cc5da6fe1382ef84540ac4de78a961aeabf06d39ab5ccc524843a72831bc9adaf8d0b745935e53469123df093c2da1047cd816faacf7bd01383514ede98bce7e0a74f52ab88d3512e8c61a815e3071ff84f1c577e7e2936baa9927e23e13ac699b680275b3b7f07767d16c4f1e32209e8fcb564326ca975767e28ddd0ebb82fff7dadd00f91dc939f7fcc553b95bb52f3b1d7318719f40b67590f0c5797c82dc0310c72620f9da2c91f2732fa64268836cf0d8f9a7c78f12eed02fbcf54e1091775d80e02aaaef73995aaa5752b8bacae44580eee5ece8d584ea1f047b28e4d09256c0e611e32061398957141c61370642146ca7eba8ab4278fc0bbd723ef1271c77121247b4a81de4aa6cd7c2b4c064c710ec65eced7bca4010e062357a338748b9590e5a8fde6121f486340059f828ae490d83eaa5837f81978f03ce06c373de8f22781dd76a635ee7d3b095c08461847213196c0154d767716db53a13660daddd00fbd1ec01fff74579d211d4810525ee20f9fd8d77b6b67980b70cd67c9a91fe1d06cfec721aa407062eba0210203010001"} \ No newline at end of file diff --git a/server/config_init.py b/server/config_init.py index 598d0bb..709bfc9 100644 --- a/server/config_init.py +++ b/server/config_init.py @@ -12,7 +12,7 @@ def generatePrivateKeyForUser(auth: Authetication,username: str, user_passphrase with open(auth.CONFIG_FILE_LOCATION) as json_file: data = json.load(json_file) - private_key = RSA.generate(2048) + private_key = RSA.generate(8192) public_key = private_key.publickey() private_key_value = bytes.hex(private_key.exportKey('DER', passphrase=user_passphrase, pkcs=8)) public_key_value = bytes.hex(public_key.exportKey('DER', pkcs=8)) @@ -44,7 +44,7 @@ def generatePrivateKeyForServer(auth: Authetication,passphrase: str) -> str: data = json.load(json_file) json_file.close() - private_key = RSA.generate(2048) + private_key = RSA.generate(8192) public_key = private_key.publickey() private_key_value = bytes.hex(private_key.exportKey('DER', passphrase=passphrase, pkcs=8, protection="scryptAndAES128-CBC")) public_key_value = bytes.hex(public_key.exportKey('DER', pkcs=8)) diff --git a/server/netwrapper.py b/server/netwrapper.py index 758aaaf..ad68f57 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -18,7 +18,7 @@ class NetWrapper: self.currentClientPublicKey = "".encode('UTF-8') self.serverPrivateKey = serverPrivateKey self.cipherkey = "".encode('UTF-8') - self.network = network_interface('./', 'A') + self.network = network_interface('./../../netsim/network/', 'A') self.clientAddr = "" self.currentUser = "" self.authenticationInstance = authenticationInstance @@ -64,6 +64,7 @@ class NetWrapper: serverpubkey = int(cipher_rsa.decrypt(b64decode(decodedmsg['message'])).decode('UTF-8')) self.cipherkey = dh.gen_shared_key(serverpubkey).encode('UTF-8') + def login(self) -> bool: b64 = {'source': '', 'type': ''} while not (b64['source'] == self.clientAddr and b64['type'] == 'AUT'): @@ -95,10 +96,15 @@ class NetWrapper: print("Incorrect decryption") def initClientConnection(self, msg: bytes) -> bytes: + print('3') try: + print('4') self.serverIdentify(msg) + print('5') self.keyExchange() + print('6') success = self.login() + print('7') if success: return "LINOK".encode('UTF-8') else: