Post

Replies

Boosts

Views

Activity

does kSecKeyAlgorithmRSAEncryptionOAEPSHA1 use MGF1 padding?
in regards to padding, the documentation in the headers for the encryption cipher kSecKeyAlgorithmRSAEncryptionOAEPSHA1 declares that data is padded using OAEP padding scheme internally using SHA1. is it a secret which masking generator the OAEP is using? I need to be able to convey to our architects whether or not the iOS encryption is using MGF1. so: Is it? Thanks in advance, |K< Kent Clelland
0
0
481
Jul ’22
Resolving SPM 'no such module' errors
My iOS app is coded primarily in obj-c and is compartmentalised into 15 different traditional .framework bundles. One of these frameworks is exclusively swift. Now I am trying to create parcels which are more easily reused across the firm, so I want to extract core functionality from my swiftCode.framework and create swift packages, and use those new packages inside my swift framework. Unfortunately my first attempt to do this has been thwarted by 'no such module' errors when I try to import my package in a .swift file. my Xcode project downloads the package and it appears to build properly (and I can see it in the 'debug' folder of my derivedData folder). but every time I try to import it in a swift file I get the error 'no such module' with no further information on how to track down the error! I think the package manager is a really great Idea, and I am anxious to be using it, however... How can I make it work? (Xcode 12.2 on Catalina)
0
0
656
Apr ’21
Xcode 11.4 Target Integrity Errors
Hello XCode Developers.The latest XCode release 11.4 introduced a new target integrity check which fails a build if the target links against a framework named "Collaboration.framework"This is a very presumptuous error. Our company has a proprietary framework with that name... and now our builds all fail unless we remove this framework. I noticed that if I build my target with our proprietary Collaboration.framework removed, and then insert it again and run without building, then I can work around this problem. Subsequent builds will not run the target integrity check and I can work smoothly for a while... until the target integrity check runs again. Is it possible to disable this check somehow? Moving forward, we would be very grateful if the XCode team would expand upon this check to be a bit more selective, or prefer to warn the developer instead of failing the build.Thanks,|K< Kent ClellandAvaloq Evolution
3
0
4k
Apr ’20
WebKit on iOS 12.4 does not load my content which loaded on 12.3
My iOS application has a window inside of which a WKWebView is displayed. Some testers are complaining that since updating to iOS12.4 they can no longer load the content. I cannot reproduce this problem in our engineering offices and I cannot go onsite to the testers.The WKWebView loads a javascript resource (remotely) into 'about:blank' which opens a web application in an iframe.The webview reports that it has finished loading (webView:didFinishNavigation:), however the view is empty.the thing is... on iOS 12.3 this works fine...and on on engineering (non-hardened) environment everything works fine.on iOS12.4.x on an environement with strict security, the webkit view load command does nothing.most importantly, it does not 'fail' in the sense of calling webView:didFailNavigation:withError:I realize that there were quite a lot of changes to WebKit for the iOS 12.4 release... am I the only one seeing regression problems? Or have I been doing things wrongly all along?I was hoping to be able to debug the javascript in the Safari debugger, however because the problem is a load problem, I cannot set a breakpoint...I also see a lot of private features in the open source WKWebView code which are not accessible via iOS12... is there some secret sauce which I am missing?Any tips appreciated, thanks in advance for your insights,|K< additional info: ATS flag NSAllowsArbitraryLoads set to 'true'
2
0
3.4k
Sep ’19