-
Notifications
You must be signed in to change notification settings - Fork 314
Cert file does not contain Subject line with Apple Organizational Unit (OU) #116
Comments
I still have the same issue. nick@nick:~/isign$ isign -o out.ipa in.ipa
Traceback (most recent call last):
File "/home/nick/.local/bin/isign", line 190, in <module>
isign.resign(app_path, **kwargs)
File "/home/nick/.local/lib/python2.7/site-packages/isign/isign.py", line 76, in resign
info_props)
File "/home/nick/.local/lib/python2.7/site-packages/isign/archive.py", line 383, in resign
apple_cert_file=apple_cert)
File "/home/nick/.local/lib/python2.7/site-packages/isign/signer.py", line 102, in __init__
raise ImproperCredentials("Cert file does not contain Subject line"
isign.exceptions.ImproperCredentials: Cert file does not contain Subject linewith Apple Organizational Unit (OU) I've checked my cert and it seems having the required field: nick@nick:~$ cd ..
nick@nick:~$ cd .isign
nick@nick:~/.isign$ cat certificate.pem
Bag Attributes
friendlyName: Apple Worldwide Developer Relations Certification Authority
localKeyID: **
subject=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
issuer=/C=US/O=Apple Inc./OU=Apple Certification Authority/CN=Apple Root CA
-----BEGIN CERTIFICATE-----
**
-----END CERTIFICATE-----
Bag Attributes
friendlyName: iPhone Developer: **
localKeyID: **
subject=/UID=**/CN=iPhone Developer: **/OU=**/O=**/C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
**
-----END CERTIFICATE----- I had to install again pyOpenSSL because it gave me an error when i was running |
@TRIGGEREDNICK Same issue, and i had to reinstall pyOpenSSL. |
The reason for this problem is that this is a regular expression error that prevents an match. After So something bad happens when you install with pip. Also, after the most recent Releases, all merges failed to Releases and requested Releases as soon as possible. Fixed regex for Team ID by cipi1965 · Pull Request #95 · saucelabs/isign Unfortunately, the maintainer of the above merge has no write permission. -- Google Translate |
Thanks for your answer. I successfully fixed this issues by changing some things in the repository before installing but now i have this error:
This is not the first error. in codesig.py, I already added a try expect to the blob array but apparently this didn't fixed my issue |
I tried to sign the .app file and while signing, I got "cert file does not contain subject line". But, certificate.pem file have the subject. Any thoughts?
isign -o resigned.app my.app
subject=/UID=XXXXXXX/CN=Developer ID Application: XXXXXXXXXXXX/OU=XXXXXXXXXX/O=XXXXXXXX/C=XX
issuer=/CN=Developer ID Certification Authority/OU=Apple Certification Authority/O=Apple Inc./C=XX
The text was updated successfully, but these errors were encountered: