Commit Graph

112 Commits (f513c9d6c2c1901ecdc9937660a2bad295271b85)

Author SHA1 Message Date
Gernot Kranz f513c9d6c2 Merge branch 'gitea1' of https://gitea.pep.foundation/gernot/pEpTransportUDP into gitea1 2023-03-15 17:29:55 +01:00
Gernot Kranz 8a2bf6d6f8 delete binary 2023-03-15 17:29:49 +01:00
Gernot c48c61334c Make the sync test run 2023-03-15 14:20:35 +01:00
Gernot Kranz 68b28e6cfd Introduce gtest
(Mostly copied from libpEpAdapter)
2023-03-14 16:26:44 +01:00
Gernot Kranz b1ec67877a Transport encrypt 2023-03-13 14:01:07 +01:00
Gernot Kranz 2f091ad7a7 use ed25519 curve 2023-02-02 13:18:05 +01:00
Gernot Kranz d33edca02c Re-add encryption to udp_sendto 2023-02-02 13:17:33 +01:00
Gernot Kranz 085a15b482 solve segfault in test 2022-12-18 14:26:37 +01:00
Gernot Kranz 88549857aa fix permutated params in new_identity() calls 2022-12-18 14:02:54 +01:00
Gernot Kranz 835f443a06 temporarily disable encryption in tests 2022-12-18 14:00:08 +01:00
Gernot Kranz 9f920ac14a implement ASN1 decoding on recv 2022-12-18 13:37:54 +01:00
Gernot Kranz 060afdc461 ASN1 encode message
Only leads to message sizes >> mtu
2022-12-15 16:33:30 +01:00
Gernot Kranz 877945643f fix typecast in ip formatting 2022-12-13 17:39:21 +01:00
Gernot Kranz 87277a6fb2 correct a typo in test data 2022-12-13 16:46:08 +01:00
Gernot Kranz 09b514226f revert reverted condition 2022-12-13 16:45:14 +01:00
Gernot Kranz 07f9ed9e57 Enable unicast sending 2022-12-13 15:58:07 +01:00
Gernot Kranz 4a48f3282f Add unicast test 2022-12-13 15:33:22 +01:00
Gernot Kranz 3a759f55ce Make tests more verbose 2022-12-12 17:58:32 +01:00
Gernot Kranz 557da75e9e make sure status variables are set explicitely 2022-12-12 17:57:42 +01:00
Gernot Kranz 6e88733672 Make test listener wait for messages 2022-12-09 19:34:20 +01:00
Gernot Kranz 86b11dfb48 drop check that doesn't seem necessary but seems obstructive 2022-12-09 19:30:29 +01:00
Gernot Kranz 1b873dbff5 Test sending of different messages 2022-12-09 19:28:42 +01:00
Gernot Kranz df7a98df5c adjust tests to uri-scheme checking 2022-12-09 12:36:20 +01:00
Gernot Kranz 8d5ecb7f1b fix compiler warnings 2022-12-09 11:49:34 +01:00
Gernot Kranz fbd1f6e38e add a missing closing bracket 2022-12-09 11:38:32 +01:00
Gernot Kranz 35d57f7c66 reformat code 2022-12-09 11:34:27 +01:00
Gernot Kranz 6bac0abe40 Merge branch 'master' into unicast 2022-12-09 11:30:15 +01:00
Gernot Kranz b1b625396b Merge branch 'unencrypted_transport' 2022-12-07 11:32:11 +01:00
Gernot Kranz f8e52e44cf sendto every address from msg->to with matching uri_scheme 2022-12-05 20:03:29 +01:00
Gernot Kranz 2633be1377 Merge branch 'globals' into identities 2022-12-05 12:51:09 +01:00
Gernot Kranz 8baf5774da Merge branch 'globals' 2022-12-05 12:14:35 +01:00
Gernot Kranz 4440da4366 still struggling to add sync attachments to testing 2022-12-05 11:58:40 +01:00
Gernot Kranz 38e6e2a8ae further decrease redundancy in test code 2022-12-04 13:27:18 +01:00
Gernot Kranz 4ad52da684 start implementing Sync message testing 2022-12-04 13:26:52 +01:00
Gernot Kranz 184dc338ff further decrease redundancy in test code 2022-12-04 13:26:16 +01:00
Gernot Kranz f6733d9824 remove redundant code from tests 2022-12-04 12:08:18 +01:00
Gernot Kranz a0f38b470b remove redundant code from tests 2022-12-04 12:08:06 +01:00
Gernot Kranz 8736372a42 use PEP_OWN_USERID, and mostly comments how to go forward 2022-12-01 16:04:00 +01:00
Gernot Kranz b03a7817c6 Collect all globals that are represented in PEP_transport_t into a struct of that type 2022-12-01 12:54:31 +01:00
Gernot Kranz c61ca748a3 some config improvements 2022-12-01 12:39:02 +01:00
Gernot Kranz 43986979d7 Log the correct IP address for listening socket 2022-12-01 11:34:04 +01:00
Gernot Kranz 70959693e8 Catch missing network for sending, #11
Todo: do the same for listening
2022-11-29 19:06:05 +01:00
Gernot Kranz 3e27ccf4a1 remove encryption and decryption
making UDP an unencrypted transport.
Encryption is now responsibility of Engine.
close #1
2022-11-28 19:10:44 +01:00
Gernot Kranz 55b06fa91f remove merge conflict formatting 2022-11-28 12:53:18 +01:00
Gernot Kranz c2bc2b4e8e remove merge conflict formatting 2022-11-28 12:50:36 +01:00
Gernot Kranz 47ed26598a Merge branch 'nonblocking' 2022-11-28 12:20:01 +01:00
Gernot Kranz 636e402d62 finish and test async receiving 2022-11-28 11:59:17 +01:00
Gernot Kranz 8301966aef add clang-format config file 2022-11-25 17:05:02 +01:00
Gernot Kranz c25220e0a5 updated gitignore 2022-11-25 17:04:26 +01:00
Gernot Kranz 2fed2bbcef add clang-format config file 2022-11-25 13:01:46 +01:00