Sign Blackberry 10 applications with different certificates - blackberry

I'm building a process to sign Blackberry applications with different certificates.
The idea is that the user could upload their author.p12, barsigner.cks and barsigner.db, as well as their password, and the server would use those certs to sign a .bar file.
The problem is that when I'm running blackberry-signer, I cannot specify the paths of those files, that tool is trying to get them from "C:\Users\\AppData\Local\Research In Motion".
Is there a way to specify the path to those files when signing with blackberry-signer?
Thanks in advance!

We tried a similar thing and found we couldn't specify paths to the relevant signing files - the command line options didn't seem to work. We worked around this by writing a script which would copy the signing files the the Research in Motion folder for the duration of the signing process

Based on the output from the command-line the following option sounds like it should work -keystore <file> - file containing developer certificate

Related

Uploading Google extension to Microsoft Edge Add-on Store - _MACOSX error

I'm using a mac to upload my extension (which can upload fine to the google chrome extension store)
Is the Microsoft Edge store the same? Should I do anything differently?
I just tried to upload the exact zip file and I'm getting these errors.
Sorry in advance, this is probably a noob question. I have zero experience with the microsoft edge store so I'm not even sure if they allow/make possible to upload from mac? (assuming this from every error containing _MACOSX error)
Here's the error in text format
The following checks failed:
Package acceptance validation error: Files or directories outside directory that contains manifest.json chromium are not allowed: __MACOSX, __MACOSX\._chromium, __MACOSX\chromium, __MACOSX\chromium\._.DS_Store, __MACOSX\chromium\._background.js, __MACOSX\chromium\._geo.js, __MACOSX\chromium\._index.html, __MACOSX\chromium\._main.js, __MACOSX\chromium\._manifest.json, __MACOSX\chromium\._popup.html, __MACOSX\chromium\._popup.js, __MACOSX\chromium\AutoStuff, __MACOSX\chromium\css, __MACOSX\chromium\img, __MACOSX\chromium\js, __MACOSX\chromium\_locales, __MACOSX\chromium\AutoStuff\._insert-auto-message.js, __MACOSX\chromium\AutoStuff\._shared-basic.js, __MACOSX\chromium\AutoStuff\._shared-website.js, __MACOSX\chromium\css\._.DS_Store, __MACOSX\chromium\css\._jquery.toast.min.css, __MACOSX\chromium\css\._popup.css, __MACOSX\chromium\css\._style.css, __MACOSX\chromium\img\._.DS_Store, __MACOSX\chromium\img\._icon-128.png, __MACOSX\chromium\img\._icon-1280x800.png, __MACOSX\chromium\img\._icon-16.png, __MACOSX\chromium\img\._logo.png, __MACOSX\chromium\js\._jquery-3.4.1.min.js, __MACOSX\chromium\js\._jquery.toast.min.js, __MACOSX\chromium\_locales\._.DS_Store
Edit: I wonder, do I need to format the zip file differently?
I try to search for the error your package failed certification. make corrections and certify again.
I found that other people had a similar issue before. I suggest you try to reupload the package. See if it uploads successfully. If the issue persists then there may be some other issue with the package or extension.
You said you are trying to upload the exact same zip file to the MS store. You may need to port your existing Chromium extension to Microsoft Edge
You can refer to this docs may help you to know the process to publish the Edge extension to the MS store.
I had the same issue and got over it by using the shell to zip it:
# remove MacOS' .DS_Store file
rm ./my-edge-extension-folder/.DS_Store
# zip the extension
zip -r my-edge-extension.zip ./my-edge-extension-folder

how to Create a new file called appcenter-post-clone.sh for deploying to microsoft app center?

i wanna deploy my corporate-databse iOS app to a group of people only through a link, for now i am trying to do it via microsoft app center, i have followed the steps of this link as far as creating provisioning profile and certificate for the app... however when it gets to the step of creating a new file i dont know what it means and how to do it honestly, what kind of file does it mean and are those commands or do i just create "the file"and copy paste it in it? can someone help me on how to do this step?
here's the link
https://buildflutter.com/deploying-flutter-apps-via-appcenter/
heres a picture of the step:
You create a file called appcenter-post-clone.sh yourself and put it into android/app/ path. Copy content for this file from here: https://github.com/microsoft/appcenter/blob/master/sample-build-scripts/flutter/android-build/appcenter-post-clone.sh
then, you have to create such file inside ios/ folder and copy its content from here: https://github.com/microsoft/appcenter/blob/master/sample-build-scripts/flutter/ios-build/appcenter-post-clone.sh
more info: https://medium.com/#rakhimov.sardorbek/flutter-apps-ci-cd-using-appcenter-ab68b4aee30f

Sign a file with a certificate stored in Microsoft store

I would like to sign a file using the certificate that is stored in the Microsoft store, searched everywhere for some info or samples but couldn't find anything... My app currently can sign a file using the .pfx file but that is not the best solution since it exports the private key as well. Does anyone have any suggestions or tips by any chance. Thanks in advance.
You could use Microsoft signtool.exe. it has command line options so you could call it with appropriate parameters from Delphi Application.
here are two links to its documentations:
https://learn.microsoft.com/en-us/dotnet/framework/tools/signtool-exe
https://learn.microsoft.com/en-us/windows/win32/seccrypto/signtool

IPhone: Best way to deliver configuration file to test application

Main Problem
I have to write test application for iOS to test very complex multi platform framework.
There are already applications for other platforms which are using common configuration file (which defines test servers, user names, log level, and so on). Configuration process is quite complex so providing a complex UI will be waste of time on mobile platforms.
This file is a xml and its file name extension is xml.
Tester will have multiple configuration files (will use only one at the time)
This files should be easily uploaded by tester
tester should be able to select configuration file
What solution I'm looking for
At bagging I was thinking about iCloud service. Problem is that in 90% of cases device is shared by multiple people (testers and developers), so I'm not convinced this is best approach, since this will provide problems with sharing an iCloud account (usually there is account per device not per tester/project).
It would be best if this files could be delivered to application by using iTunes. Anyone who will do test will have this tool to install test application, so it would be nice if he could upload those files too.
Any useful hint will be appreciated (not necessary a full solution).
As a bonus opposite direction would be also useful (fetching logs). Currently usually logs are send by an email. If it is possible to easily fetch this in same meaner as configuration file it would be great.
Ok looks like it is possible to do this with iTunes.
When inspecting list of installed app for device in iTunes at the bottom there is a section "File Sharing" where you can add remove files.
If you want
That your test application for iOS, test something by readying XML File
There are different XML files
There are different testers.
In this case rather than doing too much you can
Ask testers to upload the files in dropbox.
Have a textbox in your app, in which user will type the URL of XML file (which they have uploaded on dropbox)
And next to it you have test button on click of it you can download the file and test against the logic.
Once the test is over you can grab the result by email or ask them to upload on Dropbox (manually or using api).
Ok I've finally found something like that. This perfectly solves my problem.
Files will be uploaded and downloaded by iTunes.
Another helpful link.

Blackberry signature tool - invalid private key

A couple of months after installing successfully the BlackBerry signature key for signing my application, I have lost my private key. How can I retrieve it?
I have already sent an email to BlackBerry developers' support, but they're really slow in replying.
Search your hard-drive or trash-bin for sigtool.* :
You need to find sigtool.csk and sigtool.db. If you can find these files you can copy them to your Components\bin folder. For example:
C:\eclipses\BB1.1.2\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.29\components\bin
Or you can use the Import Key Feature of the Blackberry Plugin and point it to these files.
If you can't find these files, then you need TechSupport to resend you the three CSI files for creating your keys. Note, after you create a key-set with these csi files they are useless, so you can't use them to recreate new keys later.
I suggest backing up the sigtool files after you find/recreate them.
Good Luck mate!

Resources