kontalk / desktopclient-java Goto Github PK
View Code? Open in Web Editor NEWKontalk official platform independent desktop client
Home Page: https://www.kontalk.org
License: GNU General Public License v3.0
Kontalk official platform independent desktop client
Home Page: https://www.kontalk.org
License: GNU General Public License v3.0
As there is no secure way to store a password in plain text in Java the private key must be saved unencrypted.
Or the password is asked on every start up, which is also not a good idea...
Used Kontalkversion 0.01b1
There should be a way to show names of contacts.
Maybe a in Java Desktopclient integrated adressbook with phonenumbers (imported from Android phone?)
So you could match the hashes of the phonenumbers.
As discussed in #48 we need a way to use system jars when building a package. I found a way to mention this in build.gradle. Can we make another target linke SystemJar or something that will use system jars instead of downloading from maven?
Such jars need not be copied to dist/lib and their path should be set to system path in final jar classpath
--- ../build.gradle 2015-07-27 17:39:21.705491576 +0530
+++ build.gradle 2015-07-27 21:43:20.584702159 +0530
@@ -28,7 +28,7 @@
compile group: 'org.bouncycastle', name: 'bcpg-jdk15on', version: "$bcVersion"
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: "$bcVersion"
- compile group: 'commons-configuration', name: 'commons-configuration', version: "1.10"
+ compile fileTree(dir: '/usr/share/java', includes: ['commons-configuration-1.10.jar','commons-lang.jar','commons-logging.jar'])
//compile group: 'commons-lang', name: 'commons-lang', version: "2.6"
compile group: 'commons-io', name: 'commons-io', version: "2.4"
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: "4.3.5"
does junit-4.10 requires at runtime ?
please distinguish runtime and build-time dependencies.
Hi all,
As per readme, "The Android client version 3.0 is required to export your account-key which is needed by the desktop client " now it would be nice if this could be done by the desktop client itself.
Hello i have a question! i was wondering if i change the code and build it will it work for i would need a server? if i change the code a lot?
see #30 .
[btw. A wiki hosted on kontalk.org would be better, I think]
JDK version 8 is not easily available on free software platforms (I've understood that's due to parts of the classes in the standard library being not available as free software).
It would be nice if the kontalk desktop client could be installed on a purely free operating system.
Some people using for first registation a nickname.
And so I don't know who is who.
There should be a way to match the contacts with phonenumbers like in Android Client.
Maybe a way could be to import Android phonebook into the Desktop Client?
I'm going to begin hunting for a sponsor to include us in Debian. Of course we'll wait for you @alex until you say that the client is stable enough for inclusion. In the meantime I'll setup the required scripts and all the stuff needed to make the package. Maybe, and I say maybe, by being a FSFE member I might have a chance.
On startup:
[java] Exception in thread "main" java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
[java] at org.sqlite.core.NativeDB._open(Native Method)
[java] at org.sqlite.core.DB.open(DB.java:161)
[java] at org.sqlite.core.CoreConnection.open(CoreConnection.java:145)
[java] at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:66)
[java] at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:21)
[java] at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
[java] at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
[java] at org.sqlite.JDBC.createConnection(JDBC.java:114)
[java] at org.sqlite.JDBC.connect(JDBC.java:88)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:664)
[java] at java.sql.DriverManager.getConnection(DriverManager.java:208)
[java] at org.kontalk.system.Database.<init>(Database.java:73)
[java] at org.kontalk.system.Database.initialize(Database.java:295)
[java] at org.kontalk.Kontalk.start(Kontalk.java:119)
[java] at org.kontalk.Kontalk.main(Kontalk.java:165)
Application window shows, but I can't connect. I know you're developing, please tell me if I should stop reporting :-)
Imho the currently used self-made background image doesn't really look that good. A simple, modern looking one - that is inconspicuous - would be good. Or just a plain colour.
However, I'm not a design expert, so any suggestions/opinions on that? @webratte , @daniele-athome maybe you can help plz.
there is no option to remove contacts on desktop-client.
If I click on a contact it's marked.
But I need a doubleclick to open the conversation for this contact.
Very often I send messages to wrong receiver because I only clicked only single.
Or if contactlist is open there should no conversation shown because on this way it's impossible to send to wrong receivers.
I hope you will understand what I mean.
I ran the ant task, it generates a jar named "dist/GUIFormExamples.jar".
When I run it
--- kontalk/desktopclient-java ‹master› » java -jar dist/GUIFormExamples.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/openpgp/operator/PGPContentSignerBuilder
at org.kontalk.Kontalk.<clinit>(Kontalk.java:71)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.openpgp.operator.PGPContentSignerBuilder
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more
--- kontalk/desktopclient-java ‹master›
How are the dependencies managed ?
If a presence subscription was denied or is pending, the key can't be retrieved. Those states should be displayed somehow
Example response:
Jul 14, 2015 6:06:24 PM org.kontalk.client.Client sendPacket
INFO: sent packet: <iq to='[email protected]' id='gy5V4-45' type='get'><pubkey xmlns='urn:xmpp:pubkey:2'/></iq>
Jul 14, 2015 6:06:24 PM org.kontalk.client.Client processPacket
INFO: got packet (unhandled): <iq to='[email protected]/Kontalk_Desktop' from='[email protected]
t' id='gy5V4-45' type='error'><error type='auth'><not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' xml:lang='en'>N
ot authorized.</text></error></iq>
See kontalk/androidclient#179 and kontalk/tigase-extension#5.
The basic data model and GUI support this but the real implementation depends on the decisions for the "Kontalk vs. XMPP" protocol specifications.
Can't do anything right now.
Can you implement the synchronization between the android client and desktop client for the sent and received message ? Is possible ?
Reminder for me to complete the migration :-)
Later - if you start to release stable versions to public is would be good if there is a Installer.
Espacially for Win and OSX.
I think for many users it's not easy to handle ZIP Files and start the right file.
A installer should extract the ZIP file and create some Icons (Desktop, Menu)
And the Uninstaller of course should remove all the installed stuff.
Hi all,
While I'm intrigued by the possibilities that kontalk provides, it still needs the android-client for having an account. It would be best if this could be done within the existing desktop client rather than using something else.
I did check the FAQ and it is also silent on the topic, look forward to have some sort of CLI or something to create an account as well.
You could look at yowsup-cli as an inspiration for making a similar tool.
... for old and new contacts.
Like in Androidclient.
You should compress pictures (like Androidapp) bevor sending because most receivers will use a mobilephone with slower connection then DSL.
You should put strings to Transifex.
Hi @abika
in this version, seems to be impossible to search words or text in all chat, can you extend the search of text to all chat ?
Thank you so much
there is no option to send attachments
Use same Emoji set like Android Client.
The most features are available in Android Client should be available in Desktop Client I think.
I just cloned the repository but I have no idea how to build/install/run the client. I tried searching for instructions but couldn't find any. I'd suggest adding some instructions to readme or adding some other file with simple instructions, and/or adding some guidance here.
Send the same attachments like in Androidclient.
Especially pictures.
They should also in size reduced like in Android Client.
I think Audio messages are not so important because i have a real keyboard to write.
Display a default style avatar like in K9 or Conversations.
I hate Windows but, you know... friends :-)
Screenshot shows exchanging messages between me (Android) and my friend (Windows).
This happens for both directions (I see encoding artifacts on my Android and he sees artifacts on the desktop client).
As a rule: always use UTF-8 (but I think you know that already).
Maybe different links to Homewiki and FAQ.
I tried to import my keys export from the android app:
I get Import process finished with: Error
Tested multiple times in order to reduce the chance of the passphrase to be wrongly typed
The exception:
Sep 17, 2014 10:03:26 PM org.kontalk.model.Account importAccount
WARNING: can't load personal key
org.bouncycastle.openpgp.PGPException: invalid key: Illegal key size
at org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyDecryptorBuilder$1.recoverKeyData(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKey.extractKeyData(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(Unknown Source)
at org.kontalk.crypto.PersonalKey.load(PersonalKey.java:187)
at org.kontalk.model.Account.importAccount(Account.java:100)
at org.kontalk.view.ImportDialog.importAccount(ImportDialog.java:195)
at org.kontalk.view.ImportDialog.updatePage(ImportDialog.java:170)
at org.kontalk.view.ImportDialog.switchPage(ImportDialog.java:153)
at org.kontalk.view.ImportDialog.access$000(ImportDialog.java:48)
at org.kontalk.view.ImportDialog$2.actionPerformed(ImportDialog.java:98)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6281)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4872)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
at java.awt.Dialog.show(Dialog.java:1082)
at java.awt.Component.show(Component.java:1655)
at java.awt.Component.setVisible(Component.java:1607)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at org.kontalk.view.View.showImportWizard(View.java:306)
at org.kontalk.view.View.handleException(View.java:296)
at org.kontalk.Kontalk.handleException(Kontalk.java:209)
at org.kontalk.Kontalk.connect(Kontalk.java:156)
at org.kontalk.view.View.connect(View.java:314)
at org.kontalk.view.MainFrame$3.actionPerformed(MainFrame.java:129)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:585)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:482)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:428)
at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:322)
at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:869)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2444)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2336)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2294)
at java.awt.Component.dispatchEventImpl(Component.java:4768)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4698)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1024)
at javax.crypto.Cipher.init(Cipher.java:1345)
at javax.crypto.Cipher.init(Cipher.java:1282)
... 101 more
Building the code fails, both with /usr/bin/gradle and ./gradlew.
In both cases the error is:
FAILURE: Build failed with an exception.
* Where:
Build file '/usr/src/kontalk/desktopclient-java/build.gradle' line: 19
* What went wrong:
A problem occurred evaluating root project 'kontalk_java'.
> Could not find property 'smackVersion' on project ':client-common-java'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
The reference to kontalk/androidclient#250 for the desktop client.
Decrypting a message coming from the desktop client resulted into something like this:
Content-type: Message/CPIM
From: [undisclosed]
To: [undisclosed]
DateTime: 2015-07-15T09:35:21+00:00
Content-type: text/plain; charset=utf-8
eccome'urn:xmpp:receipts' id='Kon_TCDiWL0G'/></message>
</font>
Seems to missing the notification for the received message.
Can you implement ballon popup notification in the system tray or something else (for example blink kontalk icon if the program is open or if is closed, appear a ballon popup for the kontalk icon in the system tray)?
In issue #13 you talk about different Pics for different threds.
I think this would be too heavy.
But a simple color for different users would be a good idea.
So I can fast see whats the thread of my wife and so on.
there is no option to add contacts on desktop-client.
Received and sended Links should open in Browser by clicking it.
I cloned the repo and tried running "ant" but it complains that
BUILD FAILED
/home/magnus/src/kontalk/desktopclient-java/build.xml:12: Cannot find /home/magnus/src/kontalk/desktopclient-java/nbproject/build-impl.xml imported from /home/magnus/src/kontalk/desktopclient-java/build.xml
Am I missing a step ?
I created kontalk accounts for me and one other person. We have our phone numbers but kontalk didn't find the other person for either one. The other person used version 2.xxx and I'm using 3.xxx beta. Are the versions incompatible? I couldn't find any information about incompatibility so I opened this issue. Or could we have provided the phone numbers in a wrong format (text message registration worked)?
You knew this day would come @abika didn't you? :-)
Hello,
I trying the new version 3.0 of the desktop client using the "KontalkDesktopApp.jar".
I have imported successfully all the keys exported by the app but, when the application start and download all the list of contacts, some are "Unknown".
OK for the Unknown contacts but when i try to send a message to an Know user, i receive an exception :
Jul 14, 2015 1:12:37 PM org.kontalk.system.Control setPresence
WARNING: (presence) can't find user with jid: [email protected]/Kontalk_Desktop
Jul 14, 2015 1:12:37 PM org.kontalk.system.Control setPresence
WARNING: (presence) can't find user with jid: [email protected]/Kontalk_Desktop
Jul 14, 2015 1:12:37 PM org.kontalk.system.Control checkFingerprint
WARNING: (fingerprint) can't find user with jid:[email protected]
Jul 14, 2015 1:12:37 PM org.kontalk.system.Control checkFingerprint
WARNING: (fingerprint) can't find user with jid:[email protected]
Jul 14, 2015 1:12:49 PM org.kontalk.client.Client sendPacket
INFO: sent packet: <message to='[email protected]' id='7h2h8-118' type='chat'><composing xmlns='http://jabber.org/protocol/chatstates'/></message>
Jul 14, 2015 1:12:49 PM org.kontalk.client.AcknowledgedListener processPacket
INFO: got acknowledgement for message: <message to='[email protected]' id='7h2h8-118' type='chat'><composing xmlns='http://jabber.org/p
rotocol/chatstates'/></message>
Jul 14, 2015 1:12:50 PM org.kontalk.crypto.Coder processOutMessage
INFO: encrypting message...
Jul 14, 2015 1:12:50 PM org.kontalk.crypto.Coder processOutMessage
WARNING: can't encrypt message
org.bouncycastle.openpgp.PGPException: cannot recognise keyAlgorithm: 18
at org.bouncycastle.openpgp.operator.bc.BcImplProvider.createSigner(Unknown Source)
at org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder.build(Unknown Source)
at org.bouncycastle.openpgp.PGPSignatureGenerator.init(Unknown Source)
at org.kontalk.crypto.Coder.processOutMessage(Coder.java:218)
at org.kontalk.client.Client.sendMessage(Client.java:229)
at org.kontalk.system.Control.sendMessage(Control.java:510)
at org.kontalk.system.Control.sendText(Control.java:172)
at org.kontalk.view.View.callSendText(View.java:511)
at org.kontalk.view.View.access$400(View.java:108)
at org.kontalk.view.View$3.actionPerformed(View.java:169)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.alee.managers.hotkey.ButtonHotkeyRunnable.run(ButtonHotkeyRunnable.java:47)
at com.alee.utils.SwingUtils.invokeLater(SwingUtils.java:2367)
at com.alee.managers.hotkey.HotkeyManager.processHotkeys(HotkeyManager.java:222)
at com.alee.managers.hotkey.HotkeyManager$1.eventDispatched(HotkeyManager.java:116)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Jul 14, 2015 1:12:50 PM org.kontalk.client.Client sendMessage
WARNING: encryption failed, not sending message
The messages are not sent and remain in the chat with the red exclamation mark and the detail is:
Security : Decrypted / Signed
Problems : Unknown Error
Also when receive a message, the message is delivery to the kontalk android app but in the desktop app not appear. Receive the error :
Jul 14, 2015 1:15:40 PM org.kontalk.client.AcknowledgedListener processPacket
INFO: got acknowledgement for message: <message to='[email protected]/eb2e56271013472f' id='7h2h8-126' type='chat'><received xmlns='urn
:xmpp:receipts' id='7oKEX54H8eVzUMtyoCLJBzYzYrS2o5'/></message>
Jul 14, 2015 1:15:43 PM org.kontalk.client.PresenceListener processPacket
INFO: got presence packet: <presence to='[email protected]' from='[email protected]/c50dd795f13
4343c' id='Cott1-18' type='unavailable'><pubkey xmlns='urn:xmpp:pubkey:2'><print>91CCA2786C660B92474F28B88210963CFCD849BC</print></pubkey></presence>
Jul 14, 2015 1:15:45 PM org.kontalk.client.KonMessageListener processChatMessage
INFO: got message: <message to='[email protected]' from='[email protected]/eb2e56271013472f' ty
pe='chat'><composing xmlns='http://jabber.org/protocol/chatstates'/></message>
Jul 14, 2015 1:15:45 PM org.kontalk.client.KonMessageListener processChatMessage
INFO: got chatstate: composing
Jul 14, 2015 1:16:00 PM org.kontalk.client.KonMessageListener processChatMessage
INFO: got message: <message to='[email protected]' from='[email protected]/eb2e56271013472f' id
='I9K99We2RhuBOknMig5qnnK6PAtG84' type='chat'><body>(encrypted)</body><e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'>hH4DEYsbzuVafHoSAgME1U62ca...
Jul 14, 2015 1:16:00 PM org.kontalk.client.KonMessageListener processChatMessage
INFO: got chatstate: active
Jul 14, 2015 1:16:00 PM org.kontalk.client.KonMessageListener parseMessageContent
INFO: message contains encryption and body (ignoring body): (encrypted)
Jul 14, 2015 1:16:00 PM org.kontalk.crypto.Coder processInMessage
INFO: decrypting encrypted message...
Jul 14, 2015 1:16:00 PM org.jivesoftware.smack.AbstractXMPPConnection$3 run
SEVERE: Exception in async packet listener
java.lang.ClassCastException: org.bouncycastle.crypto.params.RSAKeyParameters cannot be cast to org.bouncycastle.crypto.params.ECPublicKeyParameters
at org.bouncycastle.crypto.signers.ECDSASigner.init(Unknown Source)
at org.bouncycastle.crypto.signers.DSADigestSigner.init(Unknown Source)
at org.bouncycastle.openpgp.operator.bc.BcPGPContentVerifierBuilderProvider$BcPGPContentVerifierBuilder.build(Unknown Source)
at org.bouncycastle.openpgp.PGPOnePassSignature.init(Unknown Source)
at org.kontalk.crypto.Coder.decryptAndVerify(Coder.java:510)
at org.kontalk.crypto.Coder.processInMessage(Coder.java:290)
at org.kontalk.system.Control.decryptAndDownload(Control.java:312)
at org.kontalk.system.Control.newInMessage(Control.java:302)
at org.kontalk.client.KonMessageListener.processChatMessage(KonMessageListener.java:160)
at org.kontalk.client.KonMessageListener.processPacket(KonMessageListener.java:69)
at org.jivesoftware.smack.AbstractXMPPConnection$3.run(AbstractXMPPConnection.java:1101)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
My OS and Java versions are:
Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tutti i diritti riservati.
C:\Users\valerio>java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
It seems the Desktop client auto-accepting key changes.
I write a message to my friend that show in the contacts list, i sent a message to you and you sent message to me, and so far so good...
But when I enter in the chat from the android app the client show me the request to chat (saying that the encryption key was wrong).
The history chat seems not scrolling using the direction arrow from the keyboard or using the mouse wheel. The only way to scroll the chat is scroll the chat vertical bar.
Edit : After send message the scrolling stop to working with mouse wheel and keyboard, but if I click intentionally to the vertical bar of the chat, and retry to scroll with mouse wheel or direction arrow, the chat restart to scroll.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.