Commit Graph

  • 4dd74e61bb Merge pull request #78 from structuredpath/enhancement/useLocalPackageInWorkspace main Hannes Oud 2021-12-17 17:04:17 +01:00
  • cca79b7d2f Use local copy of the library for demo projects Lukas Kubanek 2021-12-17 12:21:07 +01:00
  • 171c84ec5c Merge pull request #77 from IdeasOnCanvas/enhancement/fixParsingProvisioningType Michael Schwarz 2021-12-17 12:14:27 +01:00
  • 5f6ce04f2b WIP EXPERIMENTALLY validate certificate chain from receipt against root cert enhancement/fixIntegrityCheck Hannes Oud 2021-12-16 18:28:29 +01:00
  • 91e300cf49 Add tests for unofficialReceipt provisioning type Hannes Oud 2021-12-16 18:17:25 +01:00
  • 192b0102cf Fix parsing of unofficial receipt provisioning field Hannes Oud 2021-12-16 18:17:02 +01:00
  • 8cd736e038 Merge pull request #75 from IdeasOnCanvas/enhancement/useTagForASN1Decoder 1.0.0 Michael Schwarz 2021-11-22 14:21:40 +01:00
  • 752076eff0 Use tag to specify ASN1Decoder dependency Marco Masser 2021-11-22 14:13:19 +01:00
  • a05626958c Fix typo I readme Hannes Oud 2021-11-22 12:00:36 +01:00
  • dfb96a5d3c Merge pull request #71 from IdeasOnCanvas/experiment/useASN1Decoder Michael Schwarz 2021-11-22 11:46:18 +01:00
  • 07e653cd47 Add linux to supported platforms, remove openssl badge, update swift badge to 5.3 Hannes Oud 2021-11-22 11:39:07 +01:00
  • bbc5529208 Add storekit2 mini-segment to readme Hannes Oud 2021-11-22 11:37:41 +01:00
  • 0f1a968f32 Remove unused schemes Hannes Oud 2021-11-22 11:11:26 +01:00
  • 825114a341 Fix example project compilations by integrating package in project, not workspace Hannes Oud 2021-11-22 11:11:19 +01:00
  • ab8e3c4ec6 Fix missing end of sentence in license Hannes Oud 2021-11-22 11:11:41 +01:00
  • 6de00fcfbe Remove OpenSSL from license Michael Schwarz 2021-11-22 10:44:35 +01:00
  • 92639c90ba Update README Michael Schwarz 2021-11-22 10:43:32 +01:00
  • c08a3a8d0c Merge branch 'experiment/useASN1Decoder' of github.com:IdeasOnCanvas/AppReceiptValidator into experiment/useASN1Decoder Michael Schwarz 2021-10-19 16:10:32 +02:00
  • 0a618f5a8b Fix parsing of receipts with unknown characters in example app Michael Schwarz 2021-10-19 16:09:50 +02:00
  • f708846826 Remove obsolete DS_Store Hannes Oud 2021-10-19 15:05:07 +02:00
  • 4889ca273d Update ASN1Decoder dependency Michael Schwarz 2021-08-27 14:42:08 +02:00
  • 6224f5894d Remove .xcodeproj for library, convert directory layout to SPM standard layout and create a dedicated workspace for the demo project Thomas Zoechling 2021-07-16 14:08:07 +02:00
  • abe3a8d95a Use .dynamic as product type Thomas Zoechling 2021-07-12 21:13:34 +02:00
  • 7b169e2f26 Update ASN1Decoder package and update unit tests Michael Schwarz 2021-05-04 10:53:51 +02:00
  • 86016392d8 Remove @testable import of ASN1Decoder Michael Schwarz 2021-03-17 15:42:59 +01:00
  • 329f429fe4 Update Package dependencies Michael Schwarz 2021-03-17 15:24:39 +01:00
  • 1ff08c6c64 Disable deviceIdentifier logic on Linux Michael Schwarz 2021-03-16 14:19:29 +01:00
  • 99e8dc1274 Remove bundle checks on Linux Michael Schwarz 2021-03-16 12:36:39 +01:00
  • 4618994b90 Disable signature validation on Linux Michael Schwarz 2021-03-16 11:47:46 +01:00
  • 371d557398 Restore date parsing of unofficial receipt values Hannes Oud 2020-11-06 13:09:23 +01:00
  • bb1c8bd9aa Remove deprecated asn1DateFormatter Hannes Oud 2020-11-06 13:06:59 +01:00
  • fa73b8cf2a Remove unused attributes (used in ASN1Decoder) Hannes Oud 2020-11-06 13:05:40 +01:00
  • 695cc8cb84 Allow mac demo app to decode b64 files Hannes Oud 2020-11-06 13:02:26 +01:00
  • a47d4cb5a7 Restore UnofficialReceipt parsing after transitioning to ASN1Decoder Hannes Oud 2020-11-06 13:02:09 +01:00
  • 90243d4f86 Touch Example schemes and project with Xcode 12.2 Hannes Oud 2020-11-06 12:16:01 +01:00
  • 0c335bb6da Disable swiftlint line_length Hannes Oud 2020-11-06 12:15:25 +01:00
  • 9d2f49f4d0 Re-add comment Hannes Oud 2020-11-06 12:12:05 +01:00
  • cd7322960d Pin package dependencies Hannes Oud 2020-11-06 12:01:30 +01:00
  • 6d8e6a1cc4 Update deployment targets according to what swift-crypto allows us Hannes Oud 2020-11-06 11:52:21 +01:00
  • a8c7d87443 Refer to .swiftlint.yml in example proj swiftlint phase Hannes Oud 2020-11-06 11:46:16 +01:00
  • 4edb61a779 Add .swiftlint.yml Hannes Oud 2020-11-06 11:45:53 +01:00
  • 1fe22624c9 Add workspace for Example/ with local reference to AppReceiptValidator package Hannes Oud 2020-11-06 11:34:58 +01:00
  • 1210c2e576 Add AppReceiptValidator package to example projekts in Example/AppReceiptValidator.xcodeproj Hannes Oud 2020-11-06 11:31:40 +01:00
  • 80acb80131 Update README to point to package manager use, remove carthage and OpenSSL infos Hannes Oud 2020-11-06 11:10:34 +01:00
  • cf7632657f Update ASN1Decoder to 1.7 Thomas Zoechling 2020-11-05 19:52:34 +01:00
  • 5d538223ee Swiftlint Thomas Zoechling 2020-11-05 18:26:17 +01:00
  • bc761fe635 Merge branch 'experiment/openSSLXCFramework' into experiment/useASN1Decoder Thomas Zoechling 2020-11-05 18:23:00 +01:00
  • aa74238c4b Update to Xcode recommended settings experiment/openSSLXCFramework Thomas Zoechling 2020-11-05 18:09:18 +01:00
  • 93aab03b6f Merge branch 'main' into experiment/openSSLXCFramework Thomas Zoechling 2020-11-05 18:07:03 +01:00
  • cda36b3167 Cleanup Thomas Zoechling 2020-11-05 17:36:06 +01:00
  • e16c569526 Improve error handling Thomas Zoechling 2020-10-31 15:14:53 +01:00
  • 00aeec1de7 Introduce a convenience property to map the algorithm retrieved from the cert to SecKeyAlgorithm Thomas Zoechling 2020-10-31 15:05:00 +01:00
  • 72aa591b1e Update to ASN1Decoder 1.6.0 and modify the SecKey creation extension to make use of the now exposed rawValue Thomas Zoechling 2020-10-31 13:00:42 +01:00
  • ae6423c61f Rename property Thomas Zoechling 2020-10-29 16:50:08 +01:00
  • bccbb0db6b Prepare validation code for ASN1 raw key verification Thomas Zoechling 2020-10-28 18:25:18 +01:00
  • a6eb73385d Switch to master for the ASN1 decoder to get the latest version Thomas Zoechling 2020-10-28 17:38:59 +01:00
  • fd49602586 Revert ASN1 decoder dependency to main repo Thomas Zoechling 2020-10-28 17:16:41 +01:00
  • 04d3d8c291 Use date for unofficial receipt parts (cherry pick) Hannes Oud 2020-10-16 15:10:19 +02:00
  • afa0a3da1d Add support for sub-second (ms) dates in receipts as fallback (cherry pick) Hannes Oud 2020-10-16 15:09:42 +02:00
  • c60d292b27 Merge pull request #73 from IdeasOnCanvas/enhancement/relaxDateParsing 0.7.4 Michael Schwarz 2020-10-16 11:45:57 +02:00
  • 4452349d49 Use date for unofficial receipt parts enhancement/relaxDateParsing Hannes Oud 2020-10-09 11:53:02 +02:00
  • d726caa79d Add support for sub-second (ms) dates in receipts as fallback Hannes Oud 2020-10-09 11:52:52 +02:00
  • f8ae54977a Add a cleaned-up (but currently commented) out implementation of verifyAuthenticity based on SecKeyVerifySignature Thomas Zoechling 2020-10-06 18:30:36 +02:00
  • b986c5c558 Fix xcode project based tests compilation Hannes Oud 2020-10-01 18:23:12 +02:00
  • 3aa927006a Add the Xcode project’s package.resolved file, to be clear Hannes Oud 2020-10-01 18:23:01 +02:00
  • c61e9f037b Add same package dependencies mentioned in package manifest to project file and AppReceiptValidator framework Hannes Oud 2020-10-01 18:21:59 +02:00
  • f30de6418b Touch project file Hannes Oud 2020-10-01 18:21:05 +02:00
  • 7f34b19987 Raise mac project deployment target to 10.15 Hannes Oud 2020-10-01 18:20:23 +02:00
  • dc067dcbb9 Remove OpenSSL group from Xcode project Hannes Oud 2020-10-01 18:05:40 +02:00
  • 9dc9c40a36 Remove OpenSSL ignore-reference from Package.swift Hannes Oud 2020-10-01 18:05:26 +02:00
  • cdee8ae2c8 Remove DS_Store from repo Michael Schwarz 2020-10-01 09:31:45 +02:00
  • 8037d86dca Rewrite hash check to use boringssl Michael Schwarz 2020-10-01 09:29:47 +02:00
  • 54139ba127 Cleanup verifyReceipt Michael Schwarz 2020-10-01 09:22:29 +02:00
  • 94af303b6f Add additional findings as comment Michael Schwarz 2020-09-30 09:09:28 +02:00
  • eb9b454481 Add Todos Michael Schwarz 2020-09-29 10:26:46 +02:00
  • 9e705b3905 Add crypto swift and some logic for decoding signature Michael Schwarz 2020-09-29 10:24:40 +02:00
  • e176087ed6 Try to verify signature via common crypto Michael Schwarz 2020-09-23 16:47:39 +02:00
  • addc6d522c Read in apple root certificate Michael Schwarz 2020-09-23 16:14:51 +02:00
  • a74e2f2d88 Add check for signature presence Michael Schwarz 2020-09-23 16:09:34 +02:00
  • 7f71dde211 Implement hash validation via common crypto framework Michael Schwarz 2020-09-23 16:01:11 +02:00
  • c1a0fd6006 Remove logging statement Michael Schwarz 2020-09-23 15:54:47 +02:00
  • 054e7b77a9 Revert unit test changes Michael Schwarz 2020-09-23 15:54:29 +02:00
  • b9c1e95fe4 Re-enable all unit tests Michael Schwarz 2020-09-23 15:53:17 +02:00
  • 2f58994463 Update ASN1Decoder to include bundleIdData in parsing result Michael Schwarz 2020-09-23 15:29:00 +02:00
  • 765bfb858e Map receipt fields Michael Schwarz 2020-09-23 15:15:29 +02:00
  • c22e46ef84 Remove another .DS_Store file Michael Schwarz 2020-09-23 14:22:14 +02:00
  • 30b25f965a Add DS_Store to gitignore Michael Schwarz 2020-09-23 14:21:09 +02:00
  • 104cf761d6 Re-add some unit tests and process test resources Michael Schwarz 2020-09-22 17:10:10 +02:00
  • 10e95c91f3 Reenable some tests Michael Schwarz 2020-09-22 16:41:37 +02:00
  • 8c38ec3f4e Add test target Michael Schwarz 2020-09-22 16:38:28 +02:00
  • 9579b985c4 Include ASN1Decoder and disable OpenSSL related code Michael Schwarz 2020-09-22 16:28:33 +02:00
  • f7c331ab74 Update package URL in README Thomas Zoechling 2020-09-07 16:51:33 +02:00
  • d6fd4b7da8 Merge pull request #69 from arturgrigor/experiment/openSSLXCFramework Thomas Zoechling 2020-09-07 16:50:15 +02:00
  • 7118684684 Updated the iOS platform version in the SPM manifest. Artur Grigor 2020-09-07 15:25:24 +03:00
  • a9d3350d0b Bumped the iOS Deployment Target to 13.4 in Build Settings. Bumped the iOS platform version in the SPM manifest to iOS 13. Fixed a warning with the Tests target. Artur Grigor 2020-09-07 15:09:49 +03:00
  • 7b0605440a Fixed compilation of the AppReceiptValidator Demo macOS target and running the tests for it. Artur Grigor 2020-09-07 13:49:35 +03:00
  • 8bb6bdf4ce Merge pull request #1 from IdeasOnCanvas/experiment/openSSLXCFramework_ag Artur Grigor 2020-09-07 13:27:34 +03:00
  • 6e8ec9a498 Add x-platform AppReceiptValidator framework to mac demo app, it was missing experiment/openSSLXCFramework_ag Hannes Oud 2020-09-07 11:38:46 +02:00
  • ddb5ddedc8 Use Bundle.module in package builds and add fill-in for framework builds Hannes Oud 2020-09-07 11:37:55 +02:00
  • 5ca6492542 Add IS_FRAMEWORK_TARGET compilation condition to distinguish package vs framework builds Hannes Oud 2020-09-07 11:32:01 +02:00