Commit Graph

17 Commits

Author SHA1 Message Date
Samuel Hawksby-Robinson 71170e7099 Added comprehensive logging 2022-10-26 10:26:59 +01:00
Samuel Hawksby-Robinson 6cdd24a048 Added fix for pairing server race on port 2022-10-26 10:26:59 +01:00
frank 6e4ac1c495 Use image server for all kind of images and integrate identity rings 2022-09-16 09:52:08 +01:00
Samuel Hawksby-Robinson 67088b1ab1 Added StartUpPairingClient and refactored client endpoints 2022-09-09 13:24:56 +01:00
Samuel Hawksby-Robinson 9fda3a968e Added and integrated StartUpPairingServer
Also moved Mount() calls into the respective Server/Client send() funcs
2022-09-09 13:24:56 +01:00
Samuel Hawksby-Robinson ea3ae8b213 Added PairingPayloadSourceConfig to group app client params 2022-09-09 13:24:56 +01:00
Samuel Hawksby-Robinson 32dccf1359 Added MakeFullPairingServer 2022-09-09 13:24:56 +01:00
Samuel Hawksby-Robinson 1e55797ec8 Added challenge middleware 2022-08-25 00:02:32 +01:00
Samuel Hawksby-Robinson b1def931eb Integrated server side only tls, public key and aes key connection string 2022-08-24 23:30:09 +01:00
Samuel Hawksby-Robinson 5eb8e5a34f Added payload reset on PayloadManager level 2022-08-22 13:27:59 +01:00
Samuel Hawksby-Robinson 215dbac09a More refactor to increase testability 2022-08-22 13:27:59 +01:00
Samuel Hawksby-Robinson 0e878d55d2 Base refactor of PairingPayloadManager 2022-08-22 13:27:59 +01:00
Samuel Hawksby-Robinson 46be086b60 Added tests for PayloadMarshaller 2022-08-22 13:27:59 +01:00
Samuel Hawksby-Robinson 36f62a3f64 Added encrytion and dectription via PayloadManager 2022-06-20 15:33:09 +01:00
Samuel Hawksby-Robinson 566db2e3df Added PayloadManager and outbound pairing tests 2022-06-20 15:33:09 +01:00
Samuel Hawksby-Robinson 05b8ddf57a
LAN connection string (#2653)
* Version bump

* Implemented lan connection string functionality

Also added more robust testing

* Added ConnectionParams struct and related funcs

* Add server mode to ConnectionParams
2022-06-15 16:36:17 +01:00
Samuel Hawksby-Robinson 7f149f93c1
Get preferred network IP and refactor server package to increase reusability (#2626)
* Added function to get preffered network IP

Also done some refactor work oon server package to make a lot more reusable

* Added server.Option and simplified handler funcs

* Added serial number deterministically generated from pk

* Debugging TLS server connection

* Implemented configurable server ip

When accessing over the network the server needs to listen on the network port and not localhost or 127.0.0.1 . Also the cert can now have a dedicated IP

* Refactor of URL funcs to use the url package

* Removed redundant Options pattern in favour of config param

* Added full server test using GetOutboundIP

* Remove references and usage of Server.port

The application does not need to set the port, we rely on the net.Listener to pick a port.

* Version bump

* Added ToECDSA func and improved cert testing

* Added error check in test

* Split Server types, embedding raw Server funcs into specialised server types

* localhost

* Implemented DNS and IP based cert gen

ios doesn't allow for restricted ip addresses to be used in a valid tls cert

* Replace listener handling with original port store

Also added handlers as a parameter of the Server
2022-06-15 15:49:31 +01:00