pyobjc-framework-Security 11.1__tar.gz → 12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/Security/_metadata.py +32 -18
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/pyobjc_framework_Security.egg-info/PKG-INFO +5 -3
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/pyobjc_framework_Security.egg-info/SOURCES.txt +2 -8
- pyobjc_framework_security-12.0/Lib/pyobjc_framework_Security.egg-info/pyobjc-build-info.txt +3 -0
- pyobjc_framework_security-12.0/Lib/pyobjc_framework_Security.egg-info/requires.txt +2 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Modules/_Security.m +19 -24
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Modules/pyobjc-api.h +6 -3
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Modules/pyobjc-compat.h +32 -48
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PKG-INFO +5 -3
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmapple.py +1 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secidentity.py +4 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/metadata/Security.fwinfo +3 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/metadata/metadata.ini +1 -0
- pyobjc_framework_security-11.1/metadata/raw/arm64-15.5.fwinfo → pyobjc_framework_security-12.0/metadata/raw/arm64-26.0.fwinfo +209 -2
- pyobjc_framework_security-11.1/metadata/raw/x86_64-15.5.fwinfo → pyobjc_framework_security-12.0/metadata/raw/x86_64-26.0.fwinfo +209 -2
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/pyobjc_setup.py +2 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/setup.py +1 -1
- pyobjc_framework_security-11.1/Lib/pyobjc_framework_Security.egg-info/pyobjc-build-info.txt +0 -3
- pyobjc_framework_security-11.1/Lib/pyobjc_framework_Security.egg-info/requires.txt +0 -2
- pyobjc_framework_security-11.1/metadata/raw/arm64-12.3.fwinfo +0 -8697
- pyobjc_framework_security-11.1/metadata/raw/arm64-13.3.fwinfo +0 -8832
- pyobjc_framework_security-11.1/metadata/raw/arm64-14.5.fwinfo +0 -8839
- pyobjc_framework_security-11.1/metadata/raw/x86_64-12.3.fwinfo +0 -8697
- pyobjc_framework_security-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -8832
- pyobjc_framework_security-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -8839
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/Security/__init__.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/pyobjc_framework_Security.egg-info/dependency_links.txt +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/pyobjc_framework_Security.egg-info/not-zip-safe +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/Lib/pyobjc_framework_Security.egg-info/top_level.txt +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/License.txt +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/MANIFEST.in +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/__init__.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_authorization.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_authorizationdb.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_authorizationtags.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_authsession.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_certextensions.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_ciphersuite.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cmsdecoder.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cmsencoder.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cscommon.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmaci.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmapi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmcli.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmcspi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmdli.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmerr.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmkrapi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmkrspi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmspi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmtpi.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmtype.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_emmspi.h +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_emmtype.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_mds.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_mds_schema.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_oidsalg.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_oidsattr.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_oidscert.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_oidscrl.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secaccess.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secaccesscontrol.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secacl.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secbase.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seccertificate.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seccertificateoids.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seccode.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seccodehost.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seccustomtransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secdecodetransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secdigesttransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secencodetransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secencrypttransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secidentitysearch.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secimportexport.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secitem.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seckey.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seckeychain.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seckeychainitem.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_seckeychainsearch.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secpolicy.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secpolicysearch.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secprotocolmetadata.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secprotocolobject.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secprotocoloptions.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secprotocoltypes.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secrandom.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secrequirement.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secsharedcredential.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secsignverifytransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secstaticcode.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectask.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectransformreadtransform.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectrust.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectrustedapplication.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_sectrustsettings.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_securedownload.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_securetransport.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_security.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_x509defs.py +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/pyproject.toml +0 -0
- {pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file is generated by objective.metadata
|
|
2
2
|
#
|
|
3
|
-
# Last update:
|
|
3
|
+
# Last update: Thu Jul 24 10:49:37 2025
|
|
4
4
|
#
|
|
5
5
|
# flake8: noqa
|
|
6
6
|
|
|
@@ -406,11 +406,6 @@ functions = {
|
|
|
406
406
|
"AuthorizationCopyPrivilegedReference": (b"io^^{AuthorizationOpaqueRef=}",),
|
|
407
407
|
"CMSDecoderSetDetachedContent": (b"i@@",),
|
|
408
408
|
"sec_identity_create": (b"@@", "", {"retval": {"already_retained": True}}),
|
|
409
|
-
"SSLAddDistinguishedName": (
|
|
410
|
-
b"i@n^vL",
|
|
411
|
-
"",
|
|
412
|
-
{"arguments": {1: {"c_array_length_in_arg": 2}}},
|
|
413
|
-
),
|
|
414
409
|
"SecKeychainItemCopyFromPersistentReference": (
|
|
415
410
|
b"i@o^@",
|
|
416
411
|
"",
|
|
@@ -586,11 +581,7 @@ functions = {
|
|
|
586
581
|
}
|
|
587
582
|
},
|
|
588
583
|
),
|
|
589
|
-
"
|
|
590
|
-
b"i@n^vL",
|
|
591
|
-
"",
|
|
592
|
-
{"arguments": {1: {"c_array_length_in_arg": 2}}},
|
|
593
|
-
),
|
|
584
|
+
"SecTransformNoData": (b"@",),
|
|
594
585
|
"SecACLCopyContents": (
|
|
595
586
|
b"i@o^@o^@o^S",
|
|
596
587
|
"",
|
|
@@ -661,7 +652,11 @@ functions = {
|
|
|
661
652
|
"arguments": {2: {"already_cfretained": True}},
|
|
662
653
|
},
|
|
663
654
|
),
|
|
664
|
-
"
|
|
655
|
+
"CMSEncoderUpdateContent": (
|
|
656
|
+
b"i@n^vL",
|
|
657
|
+
"",
|
|
658
|
+
{"arguments": {1: {"c_array_length_in_arg": 2}}},
|
|
659
|
+
),
|
|
665
660
|
"SecTransformRegister": (
|
|
666
661
|
b"Z^{__CFString=}^?^^{__CFError=}",
|
|
667
662
|
"",
|
|
@@ -699,10 +694,11 @@ functions = {
|
|
|
699
694
|
b"i@o^@o^@",
|
|
700
695
|
"",
|
|
701
696
|
{
|
|
697
|
+
"retval": {"already_cfretained": True},
|
|
702
698
|
"arguments": {
|
|
703
699
|
1: {"already_cfretained": True},
|
|
704
700
|
2: {"already_cfretained": True},
|
|
705
|
-
}
|
|
701
|
+
},
|
|
706
702
|
},
|
|
707
703
|
),
|
|
708
704
|
"SecureDownloadGetDownloadSize": (b"i^{OpaqueSecureDownload=}o^q",),
|
|
@@ -846,6 +842,7 @@ functions = {
|
|
|
846
842
|
"CMSEncoderAddRecipients": (b"i@@",),
|
|
847
843
|
"sec_protocol_options_set_tls_is_fallback_attempt": (b"vBB",),
|
|
848
844
|
"SecTrustCopyPublicKey": (b"@@", "", {"retval": {"already_cfretained": True}}),
|
|
845
|
+
"SecureDownloadRelease": (b"i^{OpaqueSecureDownload=}",),
|
|
849
846
|
"SecKeyCreateWithData": (b"@@@o^@", "", {"retval": {"already_cfretained": True}}),
|
|
850
847
|
"sec_protocol_metadata_get_negotiated_tls_protocol_version": (b"S@",),
|
|
851
848
|
"SecKeychainDelete": (b"i@",),
|
|
@@ -1097,7 +1094,10 @@ functions = {
|
|
|
1097
1094
|
"SecIdentityCreateWithCertificate": (
|
|
1098
1095
|
b"i@@o^@",
|
|
1099
1096
|
"",
|
|
1100
|
-
{
|
|
1097
|
+
{
|
|
1098
|
+
"retval": {"already_cfretained": True},
|
|
1099
|
+
"arguments": {2: {"already_cfretained": True}},
|
|
1100
|
+
},
|
|
1101
1101
|
),
|
|
1102
1102
|
"SecTaskCreateWithAuditToken": (
|
|
1103
1103
|
b"@@{?=[8I]}",
|
|
@@ -1284,7 +1284,10 @@ functions = {
|
|
|
1284
1284
|
"SecIdentityCopyPrivateKey": (
|
|
1285
1285
|
b"i@o^@",
|
|
1286
1286
|
"",
|
|
1287
|
-
{
|
|
1287
|
+
{
|
|
1288
|
+
"retval": {"already_cfretained": True},
|
|
1289
|
+
"arguments": {1: {"already_cfretained": True}},
|
|
1290
|
+
},
|
|
1288
1291
|
),
|
|
1289
1292
|
"CMSEncoderAddSupportingCerts": (b"i@@",),
|
|
1290
1293
|
"sec_certificate_create": (b"@@", "", {"retval": {"already_retained": True}}),
|
|
@@ -1530,7 +1533,11 @@ functions = {
|
|
|
1530
1533
|
"arguments": {1: {"already_cfretained": True}},
|
|
1531
1534
|
},
|
|
1532
1535
|
),
|
|
1533
|
-
"
|
|
1536
|
+
"SSLAddDistinguishedName": (
|
|
1537
|
+
b"i@n^vL",
|
|
1538
|
+
"",
|
|
1539
|
+
{"arguments": {1: {"c_array_length_in_arg": 2}}},
|
|
1540
|
+
),
|
|
1534
1541
|
"SecTrustSettingsCopyModificationDate": (
|
|
1535
1542
|
b"i@Io^@",
|
|
1536
1543
|
"",
|
|
@@ -1838,6 +1845,11 @@ functions = {
|
|
|
1838
1845
|
"arguments": {1: {"already_cfretained": True}},
|
|
1839
1846
|
},
|
|
1840
1847
|
),
|
|
1848
|
+
"SecIdentityCreate": (
|
|
1849
|
+
b"^{__SecIdentity=}^{__CFAllocator=}^{__SecCertificate=}^{__SecKey=}",
|
|
1850
|
+
"",
|
|
1851
|
+
{"retval": {"already_cfretained": True}},
|
|
1852
|
+
),
|
|
1841
1853
|
"sec_protocol_options_set_key_update_block": (
|
|
1842
1854
|
b"v@@?^{dispatch_queue_s}",
|
|
1843
1855
|
"",
|
|
@@ -1950,7 +1962,10 @@ functions = {
|
|
|
1950
1962
|
"SecIdentityCopyCertificate": (
|
|
1951
1963
|
b"i@o^@",
|
|
1952
1964
|
"",
|
|
1953
|
-
{
|
|
1965
|
+
{
|
|
1966
|
+
"retval": {"already_cfretained": True},
|
|
1967
|
+
"arguments": {1: {"already_cfretained": True}},
|
|
1968
|
+
},
|
|
1954
1969
|
),
|
|
1955
1970
|
"SecRequestSharedWebCredential": (
|
|
1956
1971
|
b"v@@@?",
|
|
@@ -2238,7 +2253,6 @@ aliases = {
|
|
|
2238
2253
|
"kSecRequirementTypeCount": "kSecInvalidRequirementType",
|
|
2239
2254
|
"errSSLClientAuthCompleted": "errSSLPeerAuthCompleted",
|
|
2240
2255
|
"errSecCSSigDBDenied": "errSecCSDBDenied",
|
|
2241
|
-
"SEC_OS_OSX_INCLUDES": "TARGET_OS_OSX",
|
|
2242
2256
|
}
|
|
2243
2257
|
cftypes = [
|
|
2244
2258
|
("SecACLRef", b"^{__SecACL=}", "SecACLGetTypeID", None),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Security
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework Security on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
34
36
|
Dynamic: author
|
|
35
37
|
Dynamic: author-email
|
|
36
38
|
Dynamic: classifier
|
|
@@ -89,11 +89,5 @@ PyObjCTest/test_security.py
|
|
|
89
89
|
PyObjCTest/test_x509defs.py
|
|
90
90
|
metadata/Security.fwinfo
|
|
91
91
|
metadata/metadata.ini
|
|
92
|
-
metadata/raw/arm64-
|
|
93
|
-
metadata/raw/
|
|
94
|
-
metadata/raw/arm64-14.5.fwinfo
|
|
95
|
-
metadata/raw/arm64-15.5.fwinfo
|
|
96
|
-
metadata/raw/x86_64-12.3.fwinfo
|
|
97
|
-
metadata/raw/x86_64-13.3.fwinfo
|
|
98
|
-
metadata/raw/x86_64-14.5.fwinfo
|
|
99
|
-
metadata/raw/x86_64-15.5.fwinfo
|
|
92
|
+
metadata/raw/arm64-26.0.fwinfo
|
|
93
|
+
metadata/raw/x86_64-26.0.fwinfo
|
|
@@ -362,8 +362,7 @@ parse_itemset(PyObject* value, AuthorizationItemSet* itemset)
|
|
|
362
362
|
return 0;
|
|
363
363
|
}
|
|
364
364
|
itemset->count = PyTuple_GET_SIZE(seq);
|
|
365
|
-
itemset->items =
|
|
366
|
-
PyMem_Malloc(sizeof(AuthorizationItem) * PyTuple_GET_SIZE(seq));
|
|
365
|
+
itemset->items = PyMem_Malloc(sizeof(AuthorizationItem) * PyTuple_GET_SIZE(seq));
|
|
367
366
|
if (itemset->items == NULL) {
|
|
368
367
|
PyErr_NoMemory();
|
|
369
368
|
return 0;
|
|
@@ -800,7 +799,8 @@ static PyMethodDef mod_methods[] = {
|
|
|
800
799
|
{0, 0, 0, 0} /* sentinel */
|
|
801
800
|
};
|
|
802
801
|
|
|
803
|
-
static int
|
|
802
|
+
static int
|
|
803
|
+
mod_exec_module(PyObject* m)
|
|
804
804
|
{
|
|
805
805
|
if (PyObjC_ImportAPI(m) == -1)
|
|
806
806
|
return -1;
|
|
@@ -808,50 +808,45 @@ static int mod_exec_module(PyObject* m)
|
|
|
808
808
|
return 0;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
|
-
|
|
812
811
|
static struct PyModuleDef_Slot mod_slots[] = {
|
|
813
|
-
{
|
|
814
|
-
.slot = Py_mod_exec,
|
|
815
|
-
.value = (void*)mod_exec_module
|
|
816
|
-
},
|
|
812
|
+
{.slot = Py_mod_exec, .value = (void*)mod_exec_module},
|
|
817
813
|
#if PY_VERSION_HEX >= 0x030c0000
|
|
818
814
|
{
|
|
819
815
|
/* This extension does not use the CPython API other than initializing
|
|
820
816
|
* the module, hence is safe with subinterpreters and per-interpreter
|
|
821
817
|
* GILs
|
|
822
818
|
*/
|
|
823
|
-
.slot
|
|
819
|
+
.slot = Py_mod_multiple_interpreters,
|
|
824
820
|
.value = Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED,
|
|
825
821
|
},
|
|
826
822
|
#endif
|
|
827
823
|
#if PY_VERSION_HEX >= 0x030d0000
|
|
828
824
|
{
|
|
829
825
|
/* The code in this extension should be safe to use without the GIL */
|
|
830
|
-
.slot
|
|
826
|
+
.slot = Py_mod_gil,
|
|
831
827
|
.value = Py_MOD_GIL_NOT_USED,
|
|
832
828
|
},
|
|
833
829
|
#endif
|
|
834
|
-
{
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
}
|
|
838
|
-
};
|
|
830
|
+
{/* Sentinel */
|
|
831
|
+
.slot = 0,
|
|
832
|
+
.value = 0}};
|
|
839
833
|
|
|
840
834
|
static struct PyModuleDef mod_module = {
|
|
841
|
-
.m_base
|
|
842
|
-
.m_name
|
|
843
|
-
.m_doc
|
|
844
|
-
.m_size
|
|
845
|
-
.m_methods
|
|
846
|
-
.m_slots
|
|
835
|
+
.m_base = PyModuleDef_HEAD_INIT,
|
|
836
|
+
.m_name = "_Security",
|
|
837
|
+
.m_doc = NULL,
|
|
838
|
+
.m_size = 0,
|
|
839
|
+
.m_methods = mod_methods,
|
|
840
|
+
.m_slots = mod_slots,
|
|
847
841
|
.m_traverse = NULL,
|
|
848
|
-
.m_clear
|
|
849
|
-
.m_free
|
|
842
|
+
.m_clear = NULL,
|
|
843
|
+
.m_free = NULL,
|
|
850
844
|
};
|
|
851
845
|
|
|
852
846
|
PyObject* PyInit__Security(void);
|
|
853
847
|
|
|
854
|
-
PyObject* __attribute__((__visibility__("default")))
|
|
848
|
+
PyObject* __attribute__((__visibility__("default")))
|
|
849
|
+
PyInit__Security(void)
|
|
855
850
|
{
|
|
856
851
|
return PyModuleDef_Init(&mod_module);
|
|
857
852
|
}
|
|
@@ -53,8 +53,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
53
53
|
/*
|
|
54
54
|
* Only add items to the end of this list!
|
|
55
55
|
*/
|
|
56
|
+
|
|
56
57
|
typedef int(RegisterMethodMappingFunctionType)(
|
|
57
|
-
Class, SEL,
|
|
58
|
+
Class _Nullable, SEL,
|
|
58
59
|
PyObject* _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull,
|
|
59
60
|
PyObject* _Nonnull const* _Nonnull, size_t),
|
|
60
61
|
IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
|
|
@@ -83,7 +84,8 @@ struct pyobjc_api {
|
|
|
83
84
|
PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
|
|
84
85
|
PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
|
|
85
86
|
size_t);
|
|
86
|
-
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
87
|
+
void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
|
|
88
|
+
__attribute__((__noreturn__));
|
|
87
89
|
int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
|
|
88
90
|
void (*_Nonnull free_c_array)(int, Py_buffer*);
|
|
89
91
|
int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
|
|
@@ -113,7 +115,8 @@ struct pyobjc_api {
|
|
|
113
115
|
int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
|
|
114
116
|
PyObject* _Nullable kwnames);
|
|
115
117
|
|
|
116
|
-
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
118
|
+
PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
|
|
119
|
+
const char*);
|
|
117
120
|
};
|
|
118
121
|
|
|
119
122
|
#ifndef PYOBJC_BUILD
|
|
@@ -123,34 +123,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
123
123
|
} while (0)
|
|
124
124
|
#endif
|
|
125
125
|
|
|
126
|
-
#if PY_VERSION_HEX < 0x03090000
|
|
127
|
-
|
|
128
|
-
/* For use on Python 3.8 and earlier. PyObjC doesn't use the
|
|
129
|
-
* "flag" bit internally.
|
|
130
|
-
*/
|
|
131
|
-
|
|
132
|
-
#ifndef PY_VECTORCALL_ARGUMENTS_OFFSET
|
|
133
|
-
#define PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1))
|
|
134
|
-
#endif
|
|
135
|
-
|
|
136
|
-
#define PyVectorcall_NARGS(nargsf) ((nargsf) & ~PY_VECTORCALL_ARGUMENTS_OFFSET)
|
|
137
|
-
|
|
138
|
-
#ifdef OBJC_VERSION
|
|
139
|
-
/* Don't use PyObject prefixed symbols in our binaries */
|
|
140
|
-
#define PyObject_Vectorcall PyObjC_Vectorcall
|
|
141
|
-
#define PyObject_VectorcallMethod PyObjC_VectorcallMethod
|
|
142
|
-
|
|
143
|
-
extern PyObject* _Nullable PyObject_Vectorcall(PyObject* callable,
|
|
144
|
-
PyObject* _Nonnull const* _Nonnull args,
|
|
145
|
-
size_t nargsf,
|
|
146
|
-
PyObject* _Nullable kwnames);
|
|
147
|
-
extern PyObject* _Nullable PyObject_VectorcallMethod(
|
|
148
|
-
PyObject* name, PyObject* _Nonnull const* _Nonnull args, size_t nargsf,
|
|
149
|
-
PyObject* _Nullable kwnames);
|
|
150
|
-
#endif
|
|
151
|
-
|
|
152
|
-
#endif /* Python < 3.9 */
|
|
153
|
-
|
|
154
126
|
/* Use CLINIC_SEP between the prototype and
|
|
155
127
|
* description in doc strings, to get clean
|
|
156
128
|
* docstrings.
|
|
@@ -198,7 +170,10 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
|
|
|
198
170
|
static inline PyObject*
|
|
199
171
|
_PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
200
172
|
{
|
|
201
|
-
|
|
173
|
+
/* The protocol for tuples is that they are full initialized
|
|
174
|
+
* before handing them over to other code.
|
|
175
|
+
*/
|
|
176
|
+
return (PyObject* _Nonnull)PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
|
|
202
177
|
}
|
|
203
178
|
#undef PyTuple_GET_ITEM
|
|
204
179
|
#define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
|
|
@@ -242,13 +217,15 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
|
|
|
242
217
|
|
|
243
218
|
#if PY_VERSION_HEX < 0x030a0000
|
|
244
219
|
|
|
245
|
-
static inline PyObject*
|
|
220
|
+
static inline PyObject*
|
|
221
|
+
Py_NewRef(PyObject* o)
|
|
246
222
|
{
|
|
247
223
|
Py_INCREF(o);
|
|
248
224
|
return o;
|
|
249
225
|
}
|
|
250
226
|
|
|
251
|
-
static inline PyObject*
|
|
227
|
+
static inline PyObject*
|
|
228
|
+
Py_XNewRef(PyObject* o)
|
|
252
229
|
{
|
|
253
230
|
Py_XINCREF(o);
|
|
254
231
|
return o;
|
|
@@ -257,11 +234,16 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
257
234
|
#endif /* PY_VERSION_HEX < 0x030a0000 */
|
|
258
235
|
|
|
259
236
|
#if PY_VERSION_HEX < 0x030d0000
|
|
260
|
-
#define Py_BEGIN_CRITICAL_SECTION(value)
|
|
237
|
+
#define Py_BEGIN_CRITICAL_SECTION(value) \
|
|
238
|
+
{ \
|
|
239
|
+
(void)(value);
|
|
261
240
|
#define Py_END_CRITICAL_SECTION() }
|
|
262
241
|
#define Py_EXIT_CRITICAL_SECTION() ((void)0)
|
|
263
242
|
|
|
264
|
-
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2)
|
|
243
|
+
#define Py_BEGIN_CRITICAL_SECTION2(value1, value2) \
|
|
244
|
+
{ \
|
|
245
|
+
(void)(value1); \
|
|
246
|
+
(void)(value2);
|
|
265
247
|
#define Py_END_CRITICAL_SECTION2() }
|
|
266
248
|
#define Py_EXIT_CRITICAL_SECTION2() ((void)0)
|
|
267
249
|
|
|
@@ -282,7 +264,8 @@ static inline PyObject* Py_XNewRef(PyObject* o)
|
|
|
282
264
|
#endif
|
|
283
265
|
|
|
284
266
|
#if PY_VERSION_HEX < 0x030d0000
|
|
285
|
-
static inline int
|
|
267
|
+
static inline int
|
|
268
|
+
PyDict_GetItemRef(PyObject* p, PyObject* key, PyObject* _Nonnull* _Nullable result)
|
|
286
269
|
{
|
|
287
270
|
*result = PyDict_GetItemWithError(p, key);
|
|
288
271
|
if (*result == NULL) {
|
|
@@ -306,7 +289,8 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
|
|
|
306
289
|
#endif
|
|
307
290
|
|
|
308
291
|
#if PY_VERSION_HEX < 0x030c0000
|
|
309
|
-
static inline PyObject*
|
|
292
|
+
static inline PyObject*
|
|
293
|
+
PyType_GetDict(PyTypeObject* type)
|
|
310
294
|
{
|
|
311
295
|
PyObject* result = type->tp_dict;
|
|
312
296
|
Py_INCREF(result);
|
|
@@ -319,12 +303,13 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
|
|
|
319
303
|
* These are available in 3.14 and above, the definitions below
|
|
320
304
|
* mirror the private implementation in 3.13.
|
|
321
305
|
*/
|
|
322
|
-
static inline int
|
|
306
|
+
static inline int
|
|
307
|
+
PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
|
|
323
308
|
{
|
|
324
309
|
#ifdef Py_GIL_DISABLED
|
|
325
|
-
return (_Py_IsOwnedByCurrentThread(ob)
|
|
326
|
-
_Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
327
|
-
_Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
310
|
+
return (_Py_IsOwnedByCurrentThread(ob)
|
|
311
|
+
&& _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
|
|
312
|
+
&& _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
|
|
328
313
|
#else
|
|
329
314
|
return Py_REFCNT(ob) == 1;
|
|
330
315
|
#endif
|
|
@@ -340,8 +325,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
340
325
|
// Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
|
|
341
326
|
return;
|
|
342
327
|
}
|
|
343
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
344
|
-
|
|
328
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
329
|
+
shared | _Py_REF_MAYBE_WEAKREF)) {
|
|
345
330
|
return;
|
|
346
331
|
}
|
|
347
332
|
}
|
|
@@ -350,7 +335,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
|
|
|
350
335
|
|
|
351
336
|
#ifdef Py_GIL_DISABLED
|
|
352
337
|
static inline int
|
|
353
|
-
_Py_TryIncrefFast(PyObject
|
|
338
|
+
_Py_TryIncrefFast(PyObject* op)
|
|
339
|
+
{
|
|
354
340
|
uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
|
|
355
341
|
local += 1;
|
|
356
342
|
if (local == 0) {
|
|
@@ -369,7 +355,7 @@ _Py_TryIncrefFast(PyObject *op) {
|
|
|
369
355
|
}
|
|
370
356
|
|
|
371
357
|
static inline int
|
|
372
|
-
_Py_TryIncRefShared(PyObject
|
|
358
|
+
_Py_TryIncRefShared(PyObject* op)
|
|
373
359
|
{
|
|
374
360
|
Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
|
|
375
361
|
for (;;) {
|
|
@@ -379,10 +365,8 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
379
365
|
return 0;
|
|
380
366
|
}
|
|
381
367
|
|
|
382
|
-
if (_Py_atomic_compare_exchange_ssize(
|
|
383
|
-
|
|
384
|
-
&shared,
|
|
385
|
-
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
368
|
+
if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
|
|
369
|
+
shared + (1 << _Py_REF_SHARED_SHIFT))) {
|
|
386
370
|
#ifdef Py_REF_DEBUG
|
|
387
371
|
_Py_IncRefTotal(_PyThreadState_GET());
|
|
388
372
|
#endif
|
|
@@ -394,7 +378,7 @@ _Py_TryIncRefShared(PyObject *op)
|
|
|
394
378
|
#endif
|
|
395
379
|
|
|
396
380
|
static inline int
|
|
397
|
-
PyUnstable_TryIncRef(PyObject
|
|
381
|
+
PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
|
|
398
382
|
{
|
|
399
383
|
#ifdef Py_GIL_DISABLED
|
|
400
384
|
return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyobjc-framework-Security
|
|
3
|
-
Version:
|
|
3
|
+
Version: 12.0
|
|
4
4
|
Summary: Wrappers for the framework Security on macOS
|
|
5
5
|
Home-page: https://github.com/ronaldoussoren/pyobjc
|
|
6
6
|
Author: Ronald Oussoren
|
|
@@ -23,14 +23,16 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
27
29
|
Classifier: Programming Language :: Objective C
|
|
28
30
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
31
|
Classifier: Topic :: Software Development :: User Interfaces
|
|
30
32
|
Requires-Python: >=3.9
|
|
31
33
|
Description-Content-Type: text/x-rst; charset=UTF-8
|
|
32
|
-
Requires-Dist: pyobjc-core>=
|
|
33
|
-
Requires-Dist: pyobjc-framework-Cocoa>=
|
|
34
|
+
Requires-Dist: pyobjc-core>=12.0
|
|
35
|
+
Requires-Dist: pyobjc-framework-Cocoa>=12.0
|
|
34
36
|
Dynamic: author
|
|
35
37
|
Dynamic: author-email
|
|
36
38
|
Dynamic: classifier
|
{pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_cssmapple.py
RENAMED
|
@@ -344,6 +344,7 @@ class TestMDS(TestCase):
|
|
|
344
344
|
self.assertFalse(hasattr(Security, "CSSM_APPLE_PRIVATE_CSPDL_CODE_25"))
|
|
345
345
|
self.assertFalse(hasattr(Security, "CSSM_APPLE_PRIVATE_CSPDL_CODE_26"))
|
|
346
346
|
self.assertFalse(hasattr(Security, "CSSM_APPLE_PRIVATE_CSPDL_CODE_27"))
|
|
347
|
+
self.assertFalse(hasattr(Security, "CSSM_APPLE_PRIVATE_CSPDL_CODE_28"))
|
|
347
348
|
self.assertFalse(hasattr(Security, "CSSM_APPLECSP_KEYDIGEST"))
|
|
348
349
|
self.assertFalse(hasattr(Security, "CSSM_APPLECSPDL_DB_SETTINGS_PARAMETERS"))
|
|
349
350
|
self.assertFalse(hasattr(Security, "CSSM_APPLECSPDL_DB_IS_LOCKED_PARAMETERS"))
|
{pyobjc_framework_security-11.1 → pyobjc_framework_security-12.0}/PyObjCTest/test_secidentity.py
RENAMED
|
@@ -78,3 +78,7 @@ class TestSecIdentity(TestCase):
|
|
|
78
78
|
objc._C_OUT + objc._C_PTR + objc._C_ID,
|
|
79
79
|
)
|
|
80
80
|
self.assertArgIsCFRetained(Security.SecIdentitySetSystemIdentity, 1)
|
|
81
|
+
|
|
82
|
+
@min_os_level("10.12")
|
|
83
|
+
def test_functions12_0(self):
|
|
84
|
+
self.assertResultIsCFRetained(Security.SecIdentityCreate)
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"SecKeychainCallbackInfo": { "typestr": "{SecKeychainCallbackInfo=I@@i}", "fieldnames": [ "version", "item", "keychain", "pid" ] }
|
|
101
101
|
},
|
|
102
102
|
"enum": {
|
|
103
|
+
"SEC_PROTOCOL_CERT_COMPRESSION_DEFAULT": { "value": 1 },
|
|
103
104
|
"kSecSubjectItemAttr": { "ignore": true },
|
|
104
105
|
"kSecIssuerItemAttr": { "ignore": true },
|
|
105
106
|
"kSecSerialNumberItemAttr": { "ignore": true },
|
|
@@ -1960,6 +1961,8 @@
|
|
|
1960
1961
|
"classes": {
|
|
1961
1962
|
},
|
|
1962
1963
|
"functions": {
|
|
1964
|
+
"SecIdentityCopyPreference": { "ignore": true },
|
|
1965
|
+
"SecIdentitySetPreference": { "ignore": true },
|
|
1963
1966
|
"SecKeychainItemCreateFromContent": { "ignore": true },
|
|
1964
1967
|
"SecKeychainGetCSPHandle": { "ignore": true },
|
|
1965
1968
|
"SecKeychainGetDLDBHandle": { "ignore": true },
|