Comments (8)
Hi,
I came across a similar issue when adding SPM support in another project.
IBM has a package for that: IBM-Swift/BlueCryptor. It wraps CommonCrypto on Apple platforms and OpenSSL on Linux.
It would add a dependency:
.Package(url: "https://github.com/IBM-Swift/BlueCryptor.git", majorVersion: <majorVersion>, minor: <minor>)
Hope this helps.
from appstoreconnect-swift-sdk.
https://github.com/apple/swift-crypto could be a cool option, though it'd only work for iOS/tvOS 13+, watchOS 6.0+ and macOS 10.15+ on Apple platforms
from appstoreconnect-swift-sdk.
It would be great to add Linux support, but not for any price. My goal with this SDK is to make it as easy as possible to use. Therefore, if we can come up with a plan to support iOS, macOS, and Linux in a way that they can all be supported easily, I would be happy to review that!
from appstoreconnect-swift-sdk.
Yep, I would integrate it in a way s.t. nothing changes for iOS/macOS user of the sdk.
from appstoreconnect-swift-sdk.
I also found that there is a pure Swift implementation: https://github.com/krzyzanowskim/CryptoSwift
from appstoreconnect-swift-sdk.
Had also a look at this lib - unfortunately doesn't support ES256 which is expected by apple as signatureAlogrithm for JWT
from appstoreconnect-swift-sdk.
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
from appstoreconnect-swift-sdk.
@aaronsky good suggestion! I don't like dropping < iOS 13 anytime soon. If there's any other way of doing this I would prefer to do that.
from appstoreconnect-swift-sdk.
Related Issues (20)
- How to use Create an In-App Purchase Review Screenshot HOT 2
- Add new device UDID failed HOT 2
- Error when tvOS 16.0 is selected as target HOT 1
- Example build error: Call can throw, but errors cannot be thrown out of a property initializer HOT 4
- InAppPurchasePriceScheduleCreateRequest fails when an in-app purchase has a different territory other than US. HOT 1
- Add other apis HOT 1
- AppStoreConnect API 2.3 Update Content Release One Version HOT 1
- Loading all of pricePoints HOT 2
- Add xrOS to enum Platform HOT 1
- Random crashes at JWTRequestsAuthenticator.adapt(_:) HOT 4
- Too Many Requests 429 HOT 5
- `CiGitUser.avatarUrl` fails to decode an empty string HOT 1
- More recent version HOT 4
- Vanished tag/release 3.0.0 HOT 1
- Update CreateAPI to version 0.2.0 HOT 4
- Device entity status enum missing PROCESSING HOT 1
- New case in UserRole/FilterRoles causing failure in decoder HOT 4
- Invalid String value DEVELOPER_ID_APPLICATION_G2 HOT 2
- `CiGitUser.avatarUrl` fails to decode an empty string HOT 1
- appStoreVersionLocalizations endpoint returns the wrong data type HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appstoreconnect-swift-sdk.