File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ export async function prepareKeychainWithDeveloperCertificate(
19
19
keychain : Keychain
20
20
) : Promise < void > {
21
21
const decodedCert = Buffer . from ( secretValue , 'base64' ) . toString ( 'utf-8' )
22
- // TODO this won't work for all certificate encodings (e.g. DER)
23
- try {
24
- pki . certificateFromPem ( decodedCert )
25
- } catch ( e ) {
26
- throw new Error (
27
- `Failed to parse certificate (PEM support only right now): ${ e } `
28
- )
29
- }
22
+ // // TODO this won't work for all certificate encodings (e.g. DER)
23
+ // try {
24
+ // pki.certificateFromPem(decodedCert)
25
+ // } catch (e) {
26
+ // throw new Error(
27
+ // `Failed to parse certificate (PEM support only right now): ${e}`
28
+ // )
29
+ // }
30
30
31
31
await keychain . createKeychain ( )
32
32
await keychain . addToSearchList ( )
You can’t perform that action at this time.
0 commit comments