Skip to content

Commit

Permalink
Merge pull request #7 from Tinder/maxwelle/specify-mac-pk12-encoding
Browse files Browse the repository at this point in the history
Force sha1 macalg and pbes
  • Loading branch information
tinder-maxwellelliott authored Aug 25, 2023
2 parents 0037551 + 4951096 commit a5c81c3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ internal struct CreateProvisioningProfileCommand: ParsableCommand {
opensslPath,
"pkcs12",
"-export",
"-macalg",
"sha1",
"-keypbe",
"PBE-SHA1-3DES",
"-certpbe",
"PBE-SHA1-3DES",
"-inkey",
privateKey.string,
"-in",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ final class CreateProvisioningProfileCommandTests: XCTestCase {
certificateSigningRequestSubject: "certificateSigningRequestSubject",
bundleIdentifierName: "bundleIdentifierName"
)
isRecording = false
}

override func tearDown() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@
- .3: Optional<Data>.none
▿ (4 elements)
- .0: "/usr/bin/env"
▿ .1: 11 elements
▿ .1: 17 elements
- "/opensslPath"
- "pkcs12"
- "-export"
- "-macalg"
- "sha1"
- "-keypbe"
- "PBE-SHA1-3DES"
- "-certpbe"
- "PBE-SHA1-3DES"
- "-inkey"
- "privateKeyPath"
- "-in"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@
- .3: Optional<Data>.none
▿ (4 elements)
- .0: "/usr/bin/env"
▿ .1: 11 elements
▿ .1: 17 elements
- "/opensslPath"
- "pkcs12"
- "-export"
- "-macalg"
- "sha1"
- "-keypbe"
- "PBE-SHA1-3DES"
- "-certpbe"
- "PBE-SHA1-3DES"
- "-inkey"
- "privateKeyPath"
- "-in"
Expand Down

0 comments on commit a5c81c3

Please sign in to comment.