Avoid Runtime check of signature on APKs - signature

I want to test third party developer apps with robotium. The problem is both apk should sign with same keys. So if third party developer put constraint or some check on run time for particular signature , how can i test?
Resigning is not a solution in this case? And also the other solution i can think of multi sign. Is there any better way?
PS: I already went through related threads. I apologies if i have missed any.

I had something similar happen, and the fix isn't easy. I wrote a Robotium program for an app that was built by a third party, but they signed it with an encrypted signature. What I had to do was write an Ant script that had a KeySigner inside of it that made the two signatures match. Even with that though, I still have 4 things I have to do in order to launch the test app.
I guess the short answer is: No, unless you have the signature or can create a new one, your a out of luck.
Hope this helps.

Related

siebel compile using vba macros?

We got one assignment to compile selected siebel objects using VBA macros.
When i say selected it means list of objects will be available in one excel sheet.
is it possible to compile automatically in VBA?
any help will be appreciated. Thanks in advance.
I can help you with this.
NO.
You can double check with Oracle support.
As #Ranjith already mentioned, there is no supported API to compile an SRF. This applies to both the VBA COM and the Java Bean.
Even if you managed to find an undocumented way of compiling the SRF using VBA, it would be unsupported by Oracle. Any issue you have afterwards they will request you reproduce your issue with a standard compile. So, I'd also recommend not investing in this route.
For arguments sake I'll assume that there is a supported way for a moment. Even then I'd argue that Excel is the worst way to automate a compile and deployment of a SRF. It's a client application, it can't - or is difficult - to run on a command line and doesn't interface with proper Continuous Integration tools like Jenkins, Travis CI, Bamboo and the lot.
Building a CI/CD pipeline for Siebel from scratch is complex. Take your time to research the matter. Have a look at the commercial party support and if you do want to develop your own, find a good DevOps engineer and couple him with a strong Siebel Engineer with deployment experience.
As all previous commentators mentioned, this is a challenge, but still possible.
Matter the fact you can use scripting on the Siebel Tools Object Compiler service, which is triggered via siebdev.exe batch compile call. Messing around RepositoryName input parameter can give you the way to pass Excel file name into the service.
Incremental compilation could be performed, following these complex steps on the PreInvokeMethod hook:
Open a transaction, using EAI Transaction Service (may require some ddl libraries from the Windows Siebel Server distribution)
Create a new project (e.g. "__my_incremental_compilation__")
Find the desired repository objects and move them to your project
Pass project name to the ProjectsList parameter of the service's Inputs property set
Continue service call (wait for the end of the compilation)
Rollback the transaction
This worked well for me, when I got stuck with the same question.
Hope it helps you!

Is it possible to use 'Microsoft.ACE.OLEDB.12.0' provider without installation?

I have an Excel-reading library that depends on the Microsoft.ACE.OLEDB.12.0 provider - I would like a way to use it without being forced to install the Access Database Engine.
Is it possible? e.g. xcopy deploy + clever COM trickery.
Sorry not enough point to comment
But from my understanding in your question, the short answer is No. It's like you want to have a house but you don't to build it on the solid surface.
Perhaps you can explain why you can't install Access Database Engine and what you are trying to achieve in detail so we can get a work around in this instead

Run Monogame exe without Visual Studios

This is probably a stupid question but I am no the best with technology so I figured I might as well ask. I am working on creating a website for myself and I would like to put Monogame work on there. Is there a way I could I guess compress it all into one file for a person to download and then play it? or possibly make it playable via my website and how have them download anything?
This is my first post on her so sorry if this is not worded properly (it being 2:30 a.m. is not helping either). Thank you very much!
You cannot implement MonoGame as a game on your website. The closest you're gonna get is having it working over Local Network. And this has only been tested with XNA.
However yes, if you compile a complete version of your game and Zip it, that should work. As far as I've experienced, if you simply make sure to include MonoGame.Framework.Dll, it should work without any further requirements (apart of course from the standard ones, such as DirectX and .Net Framework in general).
You might want to test this on a clean computer (Virtual machine would also work I think). If this doesn't work, make an installer instead, using the Visual Studio Publish feature. I've never had that fail before

Sandboxed plugins for Node.js

I'm a complete Node noob, so I apologize if this question has an obvious answer.
I'm looking to create a web app that will run plugins from untrusted sources (i.e. community submissions). So I need to lock down those plugins into a sandbox where only certain access is allowed (can't write to disk, etc.). Ideally, the plugin would only be able to use certain approved node packages and APIs.
Is this possible in Node? If so, can you point me toward a package or documentation that will get me started?
Here is a small list of projects that can help you:
https://github.com/gf3/sandbox
https://github.com/hflw/node-sandbox
https://github.com/bcoe/sandcastle
https://github.com/wearefractal/boxy
I suggest the first one (sandbox) since it's more mature.
I would also contribute to the list with my library: https://github.com/asvd/jailed. In addition to the sandboxing of the untrusted code (in a restricted subprocess), it gives an opportunity to export any set of functions inside the sandbox thus defining a custom API for the sandboxed code.

Importing solution when UAT and Live are not in sync crm2011

I use a copy of customer's UAT environment as my Dev. I worked in a solution on top of all other solutions (add existing), however, I come to import into Live (staging), my solution import errors. In UAT, there was a 3rd party managed solution that did not make it to customer’s Live, I only just found out. So when importing to Live, it first errors about that missing 3rd party managed solution, then when I try to import that 3rd party managed solution, the import errors on some missing components; some of the reported missing components don't even exist in UAT where that solution is meant to have already been installed, and some of the reported missing components exist in both environments, but I customised them in my solution.
What are my options to resolve?
Hypothetically, would importing that 3rd party solution unmanaged instead of managed untangle it?
Why was it managed in UAT in the first place? Does it matter which environment that 3rd party managed solution was created in the first place?
I'm not sure of your solution structure. CMIIW, this is from my understanding of your question. You'd have:
in UAT
Your custom solution - Unmanaged, 3rd Party Solution - Managed
in Live
No solution at all.
I have a question, do you modify anything (form/fields/view) from 3rd party's solution?
And is your client using that 3rd party solution?
This is my opinion to answer your questions:
What are my options to resolve?
If that 3rd party solution is not used:
Re-create your solution on fresh CRM deployment, so it will not affect/be affected by any 3rd party solution
If that 3rd party solution used:
Install 3rd party's managed solution first, then import your custom solution (preferably export as "managed"
Hypothetically, would importing that 3rd party solution unmanaged instead of managed untangle it?
AFAIK, you can't import that 3rd party solution as unmanaged unless they give you the unmanaged solution. IMHO, from my experience with CRM 2011, I always try not to have more than 1 unmanaged solution in 1 deployment. And the point of using managed solution is like "released" version of your solution. unless you need the system to change the solution overtime, I reckon it's better to keep it in managed solution.
Why was it managed in UAT in the first place? Does it matter which environment that 3rd party managed solution was created in the first place?
The reason it is in UAT in the first place, maybe you can clarify with the client, what are they using that solution for. Maybe they need that solution for their CRM.
AFAIK, it doesn't matter from which environment that 3rd party managed solution was created in the first place. That's their "released" product.
Cheers.

Resources