Spctl says rejected for signed flat package

I have a flat package, signed by a Apple supplied Developer Id, and spctl rejects it
The TOC in the xar file is proper looking and has a valid XML signature in it (best I can tell).  Certificate chain is elided here, but matches the output from pkgutil.
xar --dump-toc=- -f foo.pkg
<?xml version="1.0" encoding="UTF-8"?>
<xar>
<toc>
  <checksum style="sha1">
   <size>20</size>
   <offset>0</offset>
  </checksum>
  <creation-time>2013-10-29T18:23:23</creation-time>
  <signature style="RSA">
   <offset>20</offset>
   <size>256</size>
   <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    <X509Data>
     <X509Certificate>...</X509Certificate>
    </X509Data>
   </KeyInfo>
  </signature>
  <x-signature style="CMS">
   <offset>276</offset>
   <size>6144</size>
   <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
    <X509Data>
     <X509Certificate>...</X509Certificate>
    </X509Data>
   </KeyInfo>
  </x-signature>
  <file id="1">
   <name>Bom</name>
   <type>file</type>
   <inode>39991802</inode>
   <deviceno>16777218</deviceno>
   <mode>0644</mode>
   <uid>0</uid>
   <user>root</user>
   <gid>0</gid>
   <group>wheel</group>
   <atime>2013-10-29T18:01:47Z</atime>
   <mtime>2013-10-29T18:01:47Z</mtime>
   <ctime>2013-10-29T18:01:48Z</ctime>
   <FinderCreateTime>
    <time>1970-01-01T00:00:00</time>
    <nanoseconds>0</nanoseconds>
   </FinderCreateTime>
   <data>
    <extracted-checksum style="sha1">afb0b9dc0fe87477290b8551c1cf038c6bf7d3eb</extracted-checksum>
    <archived-checksum style="sha1">2aa56353d6d0e2c4eed9bc45f2541b19b17532e3</archived-checksum>
    <encoding style="application/x-gzip"/>
    <size>37717</size>
    <offset>6420</offset>
    <length>1907</length>
   </data>
  </file>
  <file id="2">
   <name>PackageInfo</name>
   <type>file</type>
   <inode>39991816</inode>
   <deviceno>16777218</deviceno>
   <mode>0644</mode>
   <uid>0</uid>
   <user>root</user>
   <gid>0</gid>
   <group>wheel</group>
   <atime>2013-10-29T18:01:48Z</atime>
   <mtime>2013-10-29T18:01:48Z</mtime>
   <ctime>2013-10-29T18:01:48Z</ctime>
   <FinderCreateTime>
    <time>1970-01-01T00:00:00</time>
    <nanoseconds>0</nanoseconds>
   </FinderCreateTime>
   <ea id="0">
    <name>com.apple.TextEncoding</name>
    <extracted-checksum style="sha1">34bb265cb6732969f269ccc90fea5d662e9e0ea5</extracted-checksum>
    <archived-checksum style="sha1">d433dacc26ca2c81f30c25e807dc170e6680aad9</archived-checksum>
    <encoding style="application/x-gzip"/>
    <size>15</size>
    <offset>8625</offset>
    <length>23</length>
   </ea>
   <data>
    <extracted-checksum style="sha1">8ddffdeaf0c9d56f1ac7a545f9065b8c0a0c253b</extracted-checksum>
    <archived-checksum style="sha1">a0e202b915ac2b741e8b4eb4b6c34ad2025e576e</archived-checksum>
    <encoding style="application/x-gzip"/>
    <size>549</size>
    <offset>8327</offset>
    <length>298</length>
   </data>
  </file>
  <file id="3">
   <name>Payload</name>
   <type>file</type>
   <inode>39991803</inode>
   <deviceno>16777218</deviceno>
   <mode>0644</mode>
   <uid>0</uid>
   <user>root</user>
   <gid>0</gid>
   <group>wheel</group>
   <atime>2013-10-29T18:01:47Z</atime>
   <mtime>2013-10-29T18:01:48Z</mtime>
   <ctime>2013-10-29T18:01:48Z</ctime>
   <FinderCreateTime>
    <time>1970-01-01T00:00:00</time>
    <nanoseconds>0</nanoseconds>
   </FinderCreateTime>
   <data>
    <extracted-checksum style="sha1">8c82d6335d52c388475c710b3da67dfc037aeb57</extracted-checksum>
    <archived-checksum style="sha1">8c82d6335d52c388475c710b3da67dfc037aeb57</archived-checksum>
    <size>6074987</size>
    <offset>8648</offset>
    <encoding style="application/octet-stream"/>
    <length>6074987</length>
   </data>
  </file>
  <file id="4">
   <name>Scripts</name>
   <type>file</type>
   <inode>39991814</inode>
   <deviceno>16777218</deviceno>
   <mode>0644</mode>
   <uid>0</uid>
   <user>root</user>
   <gid>0</gid>
   <group>wheel</group>
   <atime>2013-10-29T18:01:48Z</atime>
   <mtime>2013-10-29T18:01:48Z</mtime>
   <ctime>2013-10-29T18:01:48Z</ctime>
   <FinderCreateTime>
    <time>1970-01-01T00:00:00</time>
    <nanoseconds>0</nanoseconds>
   </FinderCreateTime>
   <data>
    <extracted-checksum style="sha1">b2e862d97d79b2a78433f07b29685e0293e0239b</extracted-checksum>
    <archived-checksum style="sha1">b2e862d97d79b2a78433f07b29685e0293e0239b</archived-checksum>
    <size>180</size>
    <offset>6083635</offset>
    <encoding style="application/octet-stream"/>
    <length>180</length>
   </data>
  </file>
</toc>
</xar>
Looking at the contents, very simple flat package:
$ xar -t  -f foo.pkg
Bom
PackageInfo
Payload
Scripts
And lastly, pkgutil is happy, spctl (and the Installer of course) are not:
$ sudo spctl --assess --type install -v foo.pkg
foo.pkg: rejected
$ /usr/sbin/pkgutil --check-signature foo.pkg
Package "foo.pkg":
   Status: signed by a developer certificate issued by Apple
   Certificate Chain:
    1. 3rd Party Mac Developer Installer: TiVo, Inc (4BLW75E6S3)
       SHA1 fingerprint: 1C 22 36 8E 43 E6 6D 42 CE 9F 63 B2 74 C7 23 C6 16 CF AC 10
    2. Apple Worldwide Developer Relations Certification Authority
       SHA1 fingerprint: 09 50 B6 CD 3D 2F 37 EA 24 6A 1A AA 20 DF AA DB D6 FE 1F 75
    3. Apple Root CA
       SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60
Nothing inside the package is signed.
Any ideas where I look next?

Thanks gatby for quick feedback, although I am more confused then ever. If I understand correctly, my "third-party" certificates are only for production/testing purposes (whatever that means) and will not provide the Gatekeeper security clearance for apps—both those intended to be distributed through the App Store and those to be distributed outside the store (which is my scenario). Therefore I cannot use the command line to get Gatekeeper clearance on my application nor its delivery package until I attain those specific certificates ("Developer ID Installer", and "Developer ID Application"). Apparently Xcode 5 has access to these since it did sign my application archive successfully. Nevertheless, I may wish to use the command line to code sign my apps in the future, moreover, it's imperative that I attain the "Developer ID Installer" certificate and install it in my keychain so I can secure my delivery package.
You helpfully state that there is no way to download those certificates from the Mac Developer portal, so that I have to access them from the X code 5 developer application. I can see when I go into my account and select 'view details' button, the five desired certificates listed. By selecting one of these (you can only select one) I can export, say the "Developer ID Installer" certificate to my desktop and then try to import this to my keychain. Unfortunately, I find that this fails without an error panel. Moreover, when I try to open certificate file from my desktop, it prompts me for my developer password and thereafter simply fails to open—as if exporting the certificate from X code creates a bogus certificate file. Perhaps you can help me on how to get those certificates into my keychain? I can't tell you how angry I am at Apple for their apparent neglect of clear process when it comes to distribution outside the App Store context (for which I have no choice).

Similar Messages

  • How to create a dynamic SSIS package for multiple flat file destinations

    Hi,
    I have to create a ssis package which has single data flow task and inside that I have 23 source (sql- select * from - statements)- destination (flat files, 23 distinct) connection.
    Now for each product I have to create separate SSIS package (i.e. if prod=abc then these read select * from abc_tables and 23 abc_ txt files)
    I want to do it dynamically, means only single package and inside that variables will take select * values for each source-dest connection (so i believe 23 variables) and same for destination flat files.
    Let me know. :)
    ANK HIT - if reply helps, please mark it as ANSWER or helpful post

    Sorry It seems you're contradicting yourself. you say I know my source and dest structure and the you're
    asking all I want is to have a dynamic structure
    what does that mean?
    and reading your next sentence
    I want to run a package for 5 products, instead of creating 5 ssis packages with 23 source- dest connection, I would
    like to have one with only 23 source- dest connections 
    What I feel is what you're looking for is to  have a looping structure to loop through each of the 5
    products.
    In that case what you could do is this
    1. Create a object variable in SSIS 
    2. Use a Execute SQL Task to populate the variable with all available products (I think you'll have a master table for that). Set ResultSet property to Full ResultSet and then in ResultSet tab map Object variable to 0 th index
    3. use a ForEachLoop container with ADO .NET recordset enumerator and map to object variable. Create a variable of datatype same as that of Product identifier field to get individual values out
    4. Inside loop create your data flow task with 23 source destination connection. In the query part use a parameter for product field and map it to the variable containing product value to get only data for the product.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    I tried to install iTunes 10.5 this morning but an error appeared saying "problem with windows installer package. A program required for this install to complete could not be run." Can someone please help

    Firstly, are you installing iTunes for the first time or are you updating your current version of iTunes?
    If you're installing iTunes for the first time have you tried redownloading the installer package? Perhaps the file you downloaded originally is corrupted...
    http://www.apple.com/itunes/
    If you've tried that, then try installing iTunes as your computer's administrator. To do this right-click the install package and choose "Run as administrator".
    If you're updating iTunes to the most recent version try repairing the Apple Software Update program on your computer. It's under the add/remove programs.
    1. Open the control panel
    2. Open Add/Remove programs (called "Programs and Features" in Windows 7)
    3. Navigate to "Apple Software Update" in the list and click on it
    4. Click on "Change" then select "Repair" (or just select the repair option in Windows 7)
    Once you repair this, try running iTunes and the update again.
    Fingers crossed!

  • When trying to sign into facebook in settings for ios6, I get an error that says "You cannot sign in from your iPhone since you have opted out of Facebook Platform." What gives?

    When trying to sign into facebook in settings for ios6, I get an error that says "You cannot sign in from your iPhone since you have opted out of Facebook Platform." What gives?
    More info: I've combed through the settings in facebook and there is nothing that shows I'm blocking anything from accessing it.

    Sure sounds like a Facebook setting. When you look at your Privacy Settings in Facebook (on facebook.com), you should see something under "Apps you use" that says
    Turn off your ability to use apps, plugins, and websites on and off Facebook. After you turn this off, we will not store information about you when you use apps or websites off Facebook.
    The "Turn off" is a hyperlink that shuts down the Facebook platform. If you don't see this, or if the wording is different, you may have (inadvertently?) shut this off, and should be able to turn it back on.
    Edit: The sequence to that screen on facebook.com is: Privacy Settings (from the upper right dropdown), then "Ads, Apps and Websites" will have an "Edit settings" link to the right. This is where you'll see the "Apps you use" screen.

  • My imessage is working when im signed into my apple id butmy phone number is still not activated, my imessage still says waiting for activation how do i fix it ?

    My imessage is working when im signed into my apple id butmy phone number is still not activated, my imessage still says waiting for activation how do i fix it ?

    Go to Settings > Messages and turn iMessage OFF.
    Then go to Settings > General > Reset and tap Reset Network Settings. Your phone will restart. You will not lose any data, but you will have to re-enter any Wi-Fi network passwords.
    Once the phone has re-started and you have a network connection (either 3G or Wi-Fi), turn iMessage back ON.

  • I've had CC Student Subscription for over a year - - Over the last few months when I try to sign in, I get message saying "I've Signed Out". When I go to CS6, it says my trial is expired and I must purchase. Is there something I can do to stop this madnes

    I've had CC Student Subscription for over a year - - Over the last few months when I try to sign in, I get message saying "I've Signed Out". When I go to CS6, it says my trial is expired and I must purchase. Is there something I can do to stop this madness?

    Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
    -and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    And, just in case you ever have this problem...
    BLANK Cloud Screen http://forums.adobe.com/message/5484303
    -and step by step http://forums.adobe.com/thread/1440508?tstart=0
    -and http://helpx.adobe.com/creative-cloud/kb/blank-white-screen-ccp.html

  • I have not been able to access my apple tv for months as it says unable to sign in indicating it cannot connect to server at this time?

    I have not been able to access my apple tv for months as it says unable to sign in indicating it cannot connect to server at this time?  How can i access it again?

    Hi.
    Sounds like your Apple TV needs to connect to your Wi-Fi network.
    Help here > Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
    Or 2st generation >  Apple TV (1st generation): Troubleshooting wireless connections
    In case you are not certain which generation your Apple TV is >  Identifying Apple TV models

  • Ussually wen i purchace an app it just ask's me for my apple id password then install's the app, now it say;s (please sign in required) then after clicking continue it goes to "payment method/payment type and all my bank details now... sugesting there's s

    ussually wen i purchace an app it just ask's me for my apple id password then install's the app, now it say;s (please sign in required) then after clicking continue it goes to "payment method/payment type and all my bank details now... sugesting there's something wrong with the detail's in there, this step was never required before now and im unable to install app's now... can someone help me with this issue at all please?????
    iPhone 5, iOS 7.0.6

    No one here can help you. Contact iTunes support & see what the deal is:
    http://www.apple.com/support/itunes/

  • I cannot sign in to my facetime, its saying waiting for activation and when i sign in its saying error occur

    i cannot sign in to my facetime, its saying waiting for activation and when i sign in its saying error occur

    Hey tavz91,
    If you are getting an error when attempting to use FaceTime, I would suggest that you troubleshoot using the steps in this article - 
    Get help signing in to FaceTime, Game Center, Messages - Apple Support
    Thanks for using Apple Support Communities.
    Happy computing,
    Brett L 

  • Flat Packages, Gatekeeper, and Resources

    Hello. 
    This is a cross post because I could not delete my old message in "Mac OS X Technologies" subforum.  Apologies for that.
    I am maintaining an old 10.4 style package which is a bundle (or distribution package?) produced from package maker 3.0.4.  Since we now need to sign our packages and since this requires, it seems, flat packages, I took my existing package and set the minimum target OS to be 10.5, which converted it to a flat package.  Thereafter I could sign our package using productsign.  However, the readme, welcome and other files stopped being displayed during the installation process.  These file display options seem closed to me:
    http://developer.apple.com/legacy/mac/library/#documentation/DeveloperTools/Conc eptual/SoftwareDistribution4/Managed_Installs/Managed_Installs.html#//apple_ref / doc/uid/TP40004615-CH6-DontLinkElementID_29
    So my questions:
    a) Is there are way that I could re-incorporate them (readme, welcome, etc) into the user experience and sign my package so that Gatekeeper will not complain?
    b) Is it true that only flat packages can be signed? 
    c) When I select 10.5 as the minimum OS, the postflight option disappears from the UI, but it still seems to execute.  Why? Should I switch to postinstall instead?
    d) Are postupgrade and preupgrade valid for flat packages?  Or is there no difference between postinstall/upgrade and preinstall/upgrade?
    e) Are flat packages and distribution packages fundamentally different?
    Thank you for any help, I do appreciate it.

    Note that the specification says relative [path]:
    "Class-Path :
    The value of this attribute specifies the relative URLs of the extensions or libraries that this application or extension needs. URLs are separated by one or more spaces. The application or extension class loader uses the value of this attribute to construct its internal search path."
    Your value is incorrect, it is saying that resources is a sub-directory of the jar.

  • I'm trying to set up my Ipod, but when I go to sign in with an apple ID it says 'Could not sign in: there was a problem connecting to the server'.

    I just bought a 3rd generation ipod touch. It was professionally refurbished. I'm trying to set it up, and everything seems to be working fine, until we get to the wifi. I live on campus and our wifi is username and password protected. I signed in and everything seemed to work fine, and in the top left hand corner I have all the bars for wifi. However, when I go to sign in with an apple ID it says 'Could no sign in: there was a problem connecting to the server'. I've tried turning it on and off again, tried signing on to our wifi again, but it all isn't working. What can I do?

    I also encountered the same problem. Try using a different email address or try signing in later.

  • TS4268 After the update I am unable to log in to get iMessages. It says "Could not sign in. Please check your network connection and try again". My phone is connected to Wi-fi. What should I do?

    After the update I am unable to log in to get iMessages. It says "Could not sign in. Please check your network connection and try again". My phone is connected to Wi-fi. What should I do?

    Hi andrea110,
    Welcome to the Support Communities!
    The article below may be able to help you with this issue.
    Click on the link to see more details and screenshots.
    The settings are the same for iOS 7:
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/TS2755?viewlocale=en_US
    Cheers,
    - Judy

  • Hi, why can't I use the iMessage on my iPhone? I've already had my apple id email on it but it keeps saying "waiting for activation" always like that. No progress. Could anybody help me on this? Cheers

    Hi, why can't I use the iMessage on my iPhone? I've already had my apple id email on it but it keeps saying "waiting for activation" always like that. No progress. Could anybody help me on this? Cheers

    I have an old iPod Touch with old software that can no longer be updated:
    iOS version 6.1.6
    I've been searching for a solution to my iMessage login problem for months and tried everything from those frustrating links and all the tips from other users.
    Here is what finally worked:
    1) Settings > Privacy > Location Services > On
    2) Settings > General > Date & Time > Set Automatically > On
    3) Reboot device until Apple logo appears
    4) Settings > Messages > Sign In

  • Just wanted to say thanks for fixing Verizon Cloud today.

    Just wanted to say thanks for fixing Verizon cloud which has been malfunctioning for some time. I spent some time with one of your techs. earlier today trying to fix the problem. It was then I learned it wasn't my problem but a system glitch. So thanks again for fixing the problem not too many hours after that.
    Signed:
    (removed)
    Private info removed as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

    Thanks, we appreciate your feedback. If you find anything that needs improvement, please file a feature request: http://www.adobe.com/go/wish

  • 7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    7.1 update to IPad now unable to use FaceTime and iMessage says could not sign in check your network connection.  Why am I seeing this when I am connected?

    Check Settings>General>Date & Time>Set Automatically>On. Make sure that the time zone setting is also set correctly.
    If that didn't solve the problem, restart your iPad and try again. If that fails, reset your iPad and try again.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

Maybe you are looking for

  • Win2K Server and Reports Server 3

    Does the following Combination will work? OS - Win2K Server Reports Server - ver 3.0 Reports - ver 3.0 Database - Oracle v8.1.6 We are trying to upgrade our servers to Win2K from NT which unfortunately is running Oracle 8.0.6 with Reports Server 3.0

  • External Monitor bug

    Hi, i am working on a Macbook Pro Retina and a Fujitsu Siemens external 21,5" Monitor, when i take a window from my Macbook Monitor to the external, it look like this: can somebody tell me how to fix this bug? its not appearing very often, but someti

  • JOptionPane in JApplet

    If I display a JOptionPane through a JApplet, it has "Applet Window" written on its status bar. How do I get rid of the "Applet window" status bar on the message boxes using JOptionPane? From practical experience of applets on the net I'm not used to

  • Can't open google, mozilla....

    Hi, Not sure what's happening, but suddenly I can't access some websites. Pretty much any search engine (google in my sarafi bar doesn't work anymore), I can't access the mozilla website and somewebsites I usually access. Others are fine. Any recomme

  • Printing from SJSE 8 on Solaris?

    How is one printing from anywhere in SJSE 8? For example I would like to print the source code from one of the document windows. When I bring up the print dialog, the print service name is displayed as "destination" and status as "Not accepting jobs"