I am trying to have a swift server (using either Vapor or Kitura) talk to my iCloud public database. I found some Swift code that uses OpenSSL to generate the ECDSA signed request (alexaubry/ServerCrypto). On both Vapor and Kitura my test case runs fine locally on my Mac but when run in Docker or deployed on their respective servers I get authentication failed errors.
The only thing I can think of is incompatible OpenSSL versions (or some serious Swift Linux problem.) I posted my issue to their respective sites and basically just received a "shrug"
Does anyone have working code for either platform?
I've all but resigned myself at this time to learn Node.js and use CloudKit.js.
Thanks