ligi / SatoshiProof

Satoshi Proof is your personal notary leveraging the power of the Bitcoin network to prove existence of text or images at a certain time.
72 stars 25 forks source link

Strange files in apk #1

Closed dalb8 closed 10 years ago

dalb8 commented 10 years ago

I built this from source code at v0.5, (including tracedroid and axt), and for some bizarre reason there are the following files in the apk

lib/x86_64/darwin/libscrypt.dylib lib/x86_64/freebsd/libscrypt.so lib/x86_64/linux/libscrypt.so

I have had a quick look but I can't see any reason for this

ligi commented 10 years ago

this is related to this - as for now the bitcoinj from maven central cannot be used because of this

dalb8 commented 10 years ago

Sorry I don't understand, normally it is hard to get native libs in apk with gradle. I built bitcoinj myself and see no ELFs in it, but perhaps it used artifact from Central. I'll investigate later.

ligi commented 10 years ago

forgot the link;

http://stackoverflow.com/questions/22730620/bad-apk-when-using-bitcoinj-from-maven-central

just digged deeper and informed the bitcoinj mailinglist

dalb8 commented 10 years ago

I've built scrypt for Dogecoin wallet.It's possible to build for arm and x86 but it's not trivial.

-------- Message d'origine -------- De : ligi notifications@github.com Envoyé: 2 avril 2014 17:18:07 UTC+01:00 À : ligi/SatoshiProof SatoshiProof@noreply.github.com Cc : dalb8 daithi_black@yahoo.ie Objet : Re: [SatoshiProof] Strange files in apk (#1)

forgot the link;

http://stackoverflow.com/questions/22730620/bad-apk-when-using-bitcoinj-from-maven-central

just digged deeper and informed the bitcoinj mailinglist


Reply to this email directly or view it on GitHub: https://github.com/ligi/SatoshiProof/issues/1#issuecomment-39350635

ligi commented 10 years ago

I prefer not having any native code at all - this app only needs a tiny calculation from the bitcoin lib - mainly using bitcoinj to not reinvent the wheel - also sticking to the old jar is an option. I just wait what the bitcoin ML is saying

dalb8 commented 10 years ago

I'm doing that now, but there are signing plugins in scrypt and sha1 checks on the jar by bitcoinj. The sha1sums keep changing

-------- Message d'origine -------- De : ligi notifications@github.com Envoyé: 2 avril 2014 18:24:10 UTC+01:00 À : ligi/SatoshiProof SatoshiProof@noreply.github.com Cc : dalb8 daithi_black@yahoo.ie Objet : Re: [SatoshiProof] Strange files in apk (#1)

I prefer not having any native code at all - this app only needs a tiny calculation from the bitcoin lib - mainly using bitcoinj to not reinvent the wheel - also sticking to the old jar is an option. I just wait what the bitcoin ML is saying


Reply to this email directly or view it on GitHub: https://github.com/ligi/SatoshiProof/issues/1#issuecomment-39358398