Kitura / Kitura/BlueSSLService
Error when running via ssh on macOS
Open
- Dominant language
- Swift
- Stars
- 101
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
In SSLService.swift, the line
status = SecPKCS12Import(p12Data, options, &items)
will return status == 0 and items as an empty array if I ssh into a macOS system and exercise it there. If I log in via Screen Sharing an do the same exercise, it runs well.
I suspect this has to do with the keychain services not being available. I submitted a PR to make the error nicer (it resulted in an index-out-of-bounds before), but I don't know what to replace SecPKCS12Import with that doesn't require keychain services
Contributor guide
Assessment
This issue has not been assessed yet.