Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vuforia failed to initialize: invalid input data #40

Open
estudioalfa opened this issue Dec 16, 2016 · 11 comments
Open

vuforia failed to initialize: invalid input data #40

estudioalfa opened this issue Dec 16, 2016 · 11 comments

Comments

@estudioalfa
Copy link

Hello,

We have created a developer licence, encrypted using the PGP Encryptor.

Using Argon iphone app we get the error "vuforia failed to initialize: invalid input data".

How can we solve it?

Thanks!

@speigg
Copy link
Contributor

speigg commented Dec 16, 2016

It sounds like there is something wrong with the unencrypted data (the json). If you want to share the encrypted data, we can take a look.

@estudioalfa
Copy link
Author

Thanks speigg!

Here you are:

-----BEGIN PGP MESSAGE-----\nVersion: OpenPGP.js v2.3.2\nComment: http://openpgpjs.org\n\nwcFMA+gV6pi+O8zeAQ/+OFRrMl/fxk8fBUTFUmw1OpwF2wfd+UmWuRBja4v+\nV0fD5T1F9/y7xuG88PdzPou24+/mJwEsPdAdPuBrt2TxshLnI6qVMlfpuNfG\nWFMbHfq6/C+7M/0SDYXYQg//lkQ86Uo7JYAo1ztTn/zmIuu8bj2DH+OIFIlD\nKV2AkTjGrSXmAmMfoW5BodXxtr7v2rA9og9Rd91kYxpTNqLyymyyjSVO5LcZ\nvYTPiP5wSmd9HWLk/fVj8HW0hbcK30eLVNIuKumFUF8Fc1rwkWZKfX8NMmfu\n81v62k/XsgCEmuuE+dKm3hLzDD2mAVKcp0af4VbUT9D8B3tAlNDurnFFuAU0\n+bhuHPVOHBH31yONr3X05Ro0OJpjVeDJtqRjeSUgLgLD8GgoXWSTWscCpMux\nhKioBgHLBWOjpGyudjRRycO230BRZT01HHvhcAr0tdnvKNFSNswuHKz5kYgH\nHKI2ft2gqp1hDELon0Sh05i8NwpwrpD3X6rKHtNZvt9I3357sp+p6frq45DI\nYSeJZAJD6infUW+dNrg/PHgDcO2GBwV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/aNCjL4ZwnhVUuyW7TaMTJQwHzUNnvmTN8\nnH+f3aBWwVUelRAE9ziSwEbN0/6h3kn39gqM5wGGEnzDA343wNhsWGMRNlCW\nYmMiwnUI9qhWCV839d7JGhzpH6xKXP1ruQ==\n=19tO\n=LoZg\n-----END PGP MESSAGE-----

@speigg
Copy link
Contributor

speigg commented Dec 16, 2016

The json looks valid. Can you share a link to your html page so I can try to reproduce the error?

@estudioalfa
Copy link
Author

@estudioalfa
Copy link
Author

This is the value used on Allowed Origins:
?(*.)dropboxusercontent.com/**

May be related to license type (developer)?

@speigg
Copy link
Contributor

speigg commented Dec 16, 2016

The allowed origins value is fine.

I was able to trace the issue to the decryption step, so it has nothing to do with vuforia or even the content of the JSON. I can decrypt just fine on the desktop with GPG Tools, however we are using ObjectivePGP in the Argon app, so perhaps there is an issue with ObjectivePGP. I'll have to poke around a bit more to figure out what is happening.

@estudioalfa
Copy link
Author

Great! Thanks speigg!

@estudioalfa
Copy link
Author

Hi @speigg! Any clue? :)

@speigg
Copy link
Contributor

speigg commented Dec 20, 2016

Still not sure exactly what is causing this. For now, can you leave that example up as-is, and try to regenerate your license using the encryptor tool, to see if that works? Just add then delete a character and the tool should generate new encrypted text.

@blairmacintyre
Copy link
Contributor

I've also looked at this ... same ending point as Gheric. The PGP string seems fine, but it's failing. ObjectivePGP is finicky sometimes, if you can recreate the key, perhaps changing something to the result comes out different, I'd be curious if that works.

@estudioalfa
Copy link
Author

Hello!

I have deleted the license key and created a new one. I have also used the PGP tool for regenerating the string but it is still not working.

Regards,
Roberto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants