A preliminary pull request is ready for review <https://github.com/Flowdalic/Smack/pull/6/files> which adds XEP-0174 support to Smack.
Cheers! On Tue, Jun 17, 2014 at 3:27 PM, Hans-Christoph Steiner < [email protected]> wrote: > > Great to see progress on this! The combo of Serverless XMPP and OTRDATA > will > make for a really easy and secure way for transferring files between > devices, > so it would be great to have wide support for them. > > On 06/17/2014 05:12 PM, David Brodsky wrote: > > I've been working on rebasing the serverless XMPP (XEP-0174 > > <http://www.xmpp.org/extensions/xep-0174.html>) work from > ChatSecureAndroid > > <https://github.com/guardianproject/ChatSecureAndroid> into the Smack > > <https://github.com/Flowdalic/smack> XMPP library for Java. > > > > The results of this effort are in my Smack fork > > <https://github.com/OnlyInAmerica/Smack/tree/xep-0174-2> (diff > > < > https://github.com/OnlyInAmerica/Smack/compare/Flowdalic:master...xep-0174-2 > >), > > and can be evaluated using a harness application > > <https://github.com/OnlyInAmerica/smack-example/tree/xep-0174>. > > > > You can quickly clone & run the harness application to setup a XEP-0174 > > client on your machine > > > > $ git clone -b xep-0174 https://github.com/OnlyInAmerica/smack-example > > --recursive > > $ cd ./smack-example > > $ ./gradlew run > > > > This will connect you with the JID "[email protected]" (You may change the > JID > > parameter in ./smack-example/src/main/java/pro/dbro/smack/Main.java) > which > > will be broadcast as a mDNS serviceName of "adam@dbro". *Watch out: *The > > harness client will automatically send a "Hey" message to all other > > XEP-0174 chat clients it discovers. Quick testing reveals the harness > > client works* with Adium and ChatSecureAndroid. > > > > *A hair-puller:* Periods are delimiting characters in mDNS service names > > and thus the "[email protected]" JID becomes the "a@b" mDNS service name. It > doesn't > > appear ChatSecureAndroid does this conversion though the UI encourages > you > > to provide a full JID > > < > https://s3.amazonaws.com/pushbullet-uploads/ujz1fwJfhKK-lcm2cztXBQRQoet0y7NvjWALQwoB9mC0/Screenshot_2014-06-17-13-37-49.png > >. > > When > > you create a Bonjour XMPP account via ChatSecureAndroid with a full JID, > > the mDNS service will not be resolvable by JmDNS, nds-sd (Mac OS X), or > > avahi-browse (Ubuntu). > > Yeah, the prompt should definite not include an illegal char. I think the > results of that field should also be sanitized. The best way would be to > implement a live char filter that just does not let you type illegal > characters. Otherwise, the illegal chars could be replaced afterwards by > '_'. > > > > Feedback welcome! > > > > Cheers! > > David > > > > *Adium currently doesn't parse nicknames and displays "Unnamed contact" > for > > both ChatSecureAndroid and harness application clients. This seems to be > a > > bug on Adium's side. > > It would be good to make it work with Adium since that's one of the main > apps > used for XMPP-Bonjour, but that can certainly happen later. > > Did your situation improve with jmdns? For FDroid, it still does not > perform > as well as it should, as compared to avahi for example. > > .hc > > -- > PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81 > _______________________________________________ > Guardian-dev mailing list > > Post: [email protected] > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev > > To Unsubscribe > Send email to: [email protected] > Or visit: > https://lists.mayfirst.org/mailman/options/guardian-dev/davidpbrodsky%40gmail.com > > You are subscribed as: [email protected] >
_______________________________________________ Guardian-dev mailing list Post: [email protected] List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To Unsubscribe Send email to: [email protected] Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com You are subscribed as: [email protected]
