Closed licaon-kter closed 3 years ago
I briefly reviewed some of the mentioned repositories and BouncyCastle either does not exist or it's totally outdated.
The JAR file in Smoke's repository is downloaded from the official site.
Are there alternate methods for authenticating 3rd-party libraries?
Depends, do you know any that hosts only FOSS artefacts?
Anyway, we can build from source ;)
From https://bouncycastle.org/:
"The Bouncy Castle Crypto APIs are looked after by an Australian Charity, the Legion of the Bouncy Castle Inc., which looks after the care and feeding of the Bouncy Castle APIs. Help us keep this effort Free, Open Source, and Maintained! Please see our donations page or purchase a support contract through Crypto Workshop. Requests to sponsor specific work on the APIs are also most welcome."
That does it, but it only gets 1.66 not 1.67, is that OK? I see a size difference in classes.dex, could you test the resulting APK for correctness? org.purple.smoke_20201115.zip
If that's ok, waiting for:
BC 1.66 is fine. Will try to test the APK today.
Testing now.
What's a proper tagged release?
What's a proper tagged release?
Stuff that appears here: https://github.com/textbrowser/smoke/releases Where you add new releases, when you want, eg. this one looks fine afaics.
What's the picture about?
That's a test of your APK on a virtual device.
That does it, but it only gets 1.66 not 1.67, is that OK? I see a size difference in classes.dex, could you test the resulting APK for correctness? org.purple.smoke_20201115.zip
If that's ok, waiting for:
* proper tagged releases * the app metadata (`summary/description/images/changelog/etc`) in a [Fastlane](https://gitlab.com/snippets/1895688) or [Triple-T](https://gitlab.com/snippets/1901490) folder structure
You requested a test.
Yes, but I can start the app too, that's not the point...the problem is that I don't know how to use it....does it work after it starts? Does it connect? Does it send files? Text?
You need a server. Free servers are not provided, sorry.
There's too much to cover. Let me see if I can create a video tutorial.
Smoke also connects to Spot-On and Spot-On-Lite. If you're clever, you can create a simple echo server such that it echoes data from one client to other clients; written in Python for example. Yah, lots to cover but not enough room here.
The documentation covers a lot of the details. But, people don't read. :)
You need a server
Yes, I understand, but I hoped that you, being the developer, have such a setup that you can use to test this.
I'd like to help and get this into F-Droid, that's it.
:) Thanks you much.
smoke.d/fastlane/ └── metadata └── android └── en-US ├── changelogs │ └── 20201115.txt ├── full_description.txt ├── images │ ├── icon.png │ └── phoneScreenshots │ ├── smoke_1.png │ ├── smoke_2.png │ ├── smoke_3.png │ ├── smoke_4.png │ ├── smoke_5.png │ └── smoke_6.png └── short_description.txt
Looks ok, two notes, keep short_description under 80 chars
Second, the pics will look rather hard to read on small screens, can you screenshot on a "normal" size device? Those look like a tablet
So the resulting APK is ok then?
The images are from Studio. I would have to recreate them using a phone.
Yes, I tried your APK on a virtual device. I was able to connect to a server. I didn't perform all the tests as that would be lots of work.
Doesn't Studio have several devices to emulate? Use one that's more normalish :)
It does, I'm complaining about the work.
Yes, screenshots are hard, keep these if good enough. ¯\_(ツ)_/¯
Added fastlane to SmokeStack.
keep short_description under 80 chars
Umm ^^^ ?
That's a silly restriction. :)
There's no reason to repeat that on top since just below you see the full description, in app details.
In the Search or Latest cards there's just a bit of space to say a couple of words anyway.
Short descriptions are now short. Compact images remain. I will remove BC source from SmokeStack as F-Droid has its own build process, right?
Added title.txt files.
BC is pulled from a trusted by F-Droid maven repo, if that's stays up to date it will be ok, no source needed.
Let's use the current images for Smoke. New image for Stack. Thanks.
I think that covers Fastlane. Anything else?
Is this followup fullfilled for the fdroid channel?
Silence.
A matter of time... or lack of it actually. :)
Smoke uses Java's PBKDF2. As for Argon2id, bcrypt is not used.
Thanks.
It's also corrected in 1.67. :P
So, Argon2id or PBKDF2. Both are OK until they're not.
BC is McEliece and Argon. That be it. I think.
Maybe TLS. No. Not TLS.
Anyway, TLS is optional also. Just a nice thing to have.
You receive confidentiality and integrity using UDP, which Smoke offers in multicast and unicast. Does not have DTLS. Spot-On does.
UDP does not work well with Android. Lots of drops. Steam works because it's reliable. Anyway, Steam is for file sharing.
TLS is Stack, which is via BC. Kind of a mixture of BC and Android Java libraries.
Now I have to explain this in documentation so I don't have to repeat it.
And JPAKE.
Completed. Closing. See Discussions for discussions. :)
There is still a binary .jar file in https://github.com/textbrowser/smoke/tree/master/Smoke/app/libs, which is not allowed in F-Droid. Otherwise it's starting to look good to me (but I am new to Android packaging)
@TheLastProject Yes, see gitlab rfp recipe
The JAR file is required for non-F-DROID people. If it's missing, Smoke will not work.
Ref: https://gitlab.com/fdroid/rfp/-/issues/250
Is this something that is desired?
If YES, can
implementation files('libs/bcprov-ext-jdk15on-165.jar')
be replaced withimplementation "org.bouncycastle:bcprov-ext-jdk15on:1.65"'
? (I mean if it's available in one of these ones: https://gitlab.com/fdroid/fdroidserver/blob/master/fdroidserver/scanner.py#L138 )