Skip to content

Commit

Permalink
PrivacyInfo and signing (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
sigabrtz authored Aug 9, 2024
1 parent 37e10b7 commit c07b538
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
realm/[email protected]
yonaskolb/[email protected]
Carthage/Carthage@0.38.0
Carthage/Carthage@0.39.1
nicklockwood/[email protected]
22 changes: 22 additions & 0 deletions OpenSSL-Swift.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
21590B4452007B0E80CCD517 /* HashTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1F338114212FCC0D416F83C /* HashTests.swift */; };
21E8331BE4AB104F0A749821 /* lhash.h in Headers */ = {isa = PBXBuildFile; fileRef = E59E53381B2897434FACB9A2 /* lhash.h */; settings = {ATTRIBUTES = (Public, ); }; };
2313264FF62E10ACD0F674EE /* pemerr.h in Headers */ = {isa = PBXBuildFile; fileRef = 42DEDCD437834BAC1F7DCDB2 /* pemerr.h */; settings = {ATTRIBUTES = (Public, ); }; };
2349F7372C64FD4600567308 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 2349F7342C64FD3F00567308 /* PrivacyInfo.xcprivacy */; };
2349F7392C64FD6200567308 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 2349F7342C64FD3F00567308 /* PrivacyInfo.xcprivacy */; };
2387EE5C2B9096040092734F /* Data+Hex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2387EE5B2B9096040092734F /* Data+Hex.swift */; };
2387EE5D2B9096040092734F /* Data+Hex.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2387EE5B2B9096040092734F /* Data+Hex.swift */; };
24CE3EDB2EAB0542839C5FF6 /* e_os2.h in Headers */ = {isa = PBXBuildFile; fileRef = 98C35626ADBA6853A42F82B9 /* e_os2.h */; settings = {ATTRIBUTES = (Public, ); }; };
Expand Down Expand Up @@ -434,6 +436,7 @@
190D9F402D8AA3D22CF066C6 /* tserr.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = tserr.h; sourceTree = "<group>"; };
198BE3AE3B8E598501E534BE /* bio.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bio.h; sourceTree = "<group>"; };
1D7C30F17D8F88E98A245C49 /* txt_db.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = txt_db.h; sourceTree = "<group>"; };
2349F7342C64FD3F00567308 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Sources/OpenSSL/Resources/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
2387EE5B2B9096040092734F /* Data+Hex.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Data+Hex.swift"; sourceTree = "<group>"; };
24DA3A8E81AEB1CF5F42D680 /* stack.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = stack.h; sourceTree = "<group>"; };
26A56C240DB025895DDFB90C /* String+CChar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+CChar.swift"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1011,6 +1014,7 @@
E9095D9B512C84EF78657EAC = {
isa = PBXGroup;
children = (
2349F7342C64FD3F00567308 /* PrivacyInfo.xcprivacy */,
EEA23D476112A6FC78D505B0 /* lib */,
5934BFA296B9A5C7372048FF /* Sources */,
E3C669AE1FA818CA131FFD38 /* Tests */,
Expand Down Expand Up @@ -1371,6 +1375,7 @@
5997BEAE3D6A4D1E7A662032 /* Install OpenSSL */,
130030CCDD19F2C3077553A8 /* Headers */,
08D649F2DCDE27782CE7F458 /* Sources */,
2349F7382C64FD5C00567308 /* Resources */,
);
buildRules = (
);
Expand All @@ -1388,6 +1393,7 @@
B0B751BE4EB17530CE476004 /* Install OpenSSL */,
3C7788457F5C02501768E1AF /* Headers */,
0083CFB491411C75F1E7C390 /* Sources */,
2349F7322C64FD1000567308 /* Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -1427,6 +1433,22 @@
/* End PBXProject section */

/* Begin PBXResourcesBuildPhase section */
2349F7322C64FD1000567308 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2349F7372C64FD4600567308 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
2349F7382C64FD5C00567308 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2349F7392C64FD6200567308 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
4F88F5EED67E0286481CDB91 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ let package = Package(
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.binaryTarget(
name: "OpenSSL",
url: "https://github.com/gematik/OpenSSL-Swift/releases/download/4.2.0/OpenSSL.xcframework.zip",
checksum: "51752b9e2a9b53d518c1d5bbc85d0961300c1337892649c7f179f0f8726dcc33"
url: "https://github.com/gematik/OpenSSL-Swift/releases/download/4.3.0/OpenSSL.xcframework.zip",
checksum: "8d17b501ae70d09e9f4680deb724e1746e2b3d9f9e1ca98d801167b3d3eb3321"
)
]
)
5 changes: 5 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Release 4.3.0

- Add PrivacyInfo.xcprivacy
- Sign xcframework with Apple Distribution

# Release 4.2.0

- Upgrade OpenSSL version to 3.2.1
Expand Down
14 changes: 14 additions & 0 deletions Sources/OpenSSL/Resources/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>

0 comments on commit c07b538

Please sign in to comment.