Vous êtes sur la page 1sur 173

2018-11-15 19:56:27.

378 INFO main EntryPoint EntryPoint first scream


2018-11-15 19:56:27.393 DEBUG main FileBasedLock trylock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.dir-lock
2018-11-15 19:56:27.424 DEBUG main FileBasedLock trylock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.dir-lock
result true
2018-11-15 19:56:27.424 DEBUG main FileBasedLock trylock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.role-lock
2018-11-15 19:56:27.430 DEBUG main FileBasedLock trylock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.role-lock
result true
2018-11-15 19:56:27.430 INFO main SingleInstanceFileBasedImpl From now on this
instance considered as a primary instance
2018-11-15 19:56:27.478 DEBUG main FileBasedLock Lock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.dir-lock
released
2018-11-15 19:56:27.478 DEBUG
SingleDirWatcher:/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si
SingleDirWatcher$1 Now watching
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si
2018-11-15 19:56:28.168 INFO AWT-EventQueue-0 UiUtils$1 JRE doesnt't seem to
support font scaling
2018-11-15 19:56:28.168 DEBUG AWT-EventQueue-0 UiUtils$1 Screen dpi = 113, decided
to change font size to 14
2018-11-15 19:56:28.173 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TextPane.font. From 13 to 14
2018-11-15 19:56:28.173 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ToggleButton.font. From 13 to 14
2018-11-15 19:56:28.174 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
CheckBoxMenuItem.acceleratorFont. From 14 to 14
2018-11-15 19:56:28.174 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Slider.font. From 11 to 14
2018-11-15 19:56:28.175 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Panel.font. From 13 to 14
2018-11-15 19:56:28.176 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
PopupMenu.font. From 14 to 14
2018-11-15 19:56:28.178 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
OptionPane.font. From 13 to 14
2018-11-15 19:56:28.179 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
InternalFrame.titleFont. From 14 to 14
2018-11-15 19:56:28.179 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Label.font. From 13 to 14
2018-11-15 19:56:28.179 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Tree.font. From 12 to 14
2018-11-15 19:56:28.180 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ScrollPane.font. From 13 to 14
2018-11-15 19:56:28.180 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
InternalFrame.paletteTitleFont. From 14 to 14
2018-11-15 19:56:28.181 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
MenuItem.acceleratorFont. From 14 to 14
2018-11-15 19:56:28.181 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TextField.font. From 13 to 14
2018-11-15 19:56:28.182 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Viewport.font. From 13 to 14
2018-11-15 19:56:28.182 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
MenuBar.font. From 14 to 14
2018-11-15 19:56:28.182 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
OptionPane.buttonFont. From 13 to 14
2018-11-15 19:56:28.182 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
FormattedTextField.font. From 13 to 14
2018-11-15 19:56:28.183 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TableHeader.font. From 11 to 14
2018-11-15 19:56:28.183 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ToolTip.font. From 11 to 14
2018-11-15 19:56:28.183 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
PasswordField.font. From 13 to 14
2018-11-15 19:56:28.184 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Table.font. From 12 to 14
2018-11-15 19:56:28.184 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TabbedPane.font. From 13 to 14
2018-11-15 19:56:28.184 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ProgressBar.font. From 13 to 14
2018-11-15 19:56:28.184 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
CheckBoxMenuItem.font. From 14 to 14
2018-11-15 19:56:28.185 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ColorChooser.font. From 12 to 14
2018-11-15 19:56:28.185 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
IconButton.font. From 11 to 14
2018-11-15 19:56:28.185 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TabbedPane.smallFont. From 11 to 14
2018-11-15 19:56:28.185 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Button.font. From 13 to 14
2018-11-15 19:56:28.186 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TextArea.font. From 13 to 14
2018-11-15 19:56:28.186 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Spinner.font. From 13 to 14
2018-11-15 19:56:28.186 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
RadioButtonMenuItem.acceleratorFont. From 14 to 14
2018-11-15 19:56:28.187 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
RadioButton.font. From 13 to 14
2018-11-15 19:56:28.189 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
TitledBorder.font. From 13 to 14
2018-11-15 19:56:28.189 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
EditorPane.font. From 13 to 14
2018-11-15 19:56:28.190 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
InternalFrame.optionDialogTitleFont. From 14 to 14
2018-11-15 19:56:28.190 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
RadioButtonMenuItem.font. From 14 to 14
2018-11-15 19:56:28.190 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ToolBar.font. From 13 to 14
2018-11-15 19:56:28.191 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
MenuItem.font. From 14 to 14
2018-11-15 19:56:28.191 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
CheckBox.font. From 13 to 14
2018-11-15 19:56:28.191 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
OptionPane.messageFont. From 13 to 14
2018-11-15 19:56:28.192 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Menu.font. From 14 to 14
2018-11-15 19:56:28.192 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
Menu.acceleratorFont. From 14 to 14
2018-11-15 19:56:28.192 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
ComboBox.font. From 13 to 14
2018-11-15 19:56:28.193 DEBUG AWT-EventQueue-0 UiUtils$1 Font size changed for
List.font. From 12 to 14
2018-11-15 19:56:28.193 INFO main UiUtils L&F set
2018-11-15 19:56:28.322 INFO main AbstractApplicationContext Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@5cbc508c:
startup date [Thu Nov 15 19:56:28 EET 2018]; root of context hierarchy
2018-11-15 19:56:28.422 INFO main XmlBeanDefinitionReader Loading XML bean
definitions from class path resource [app-context.xml]
2018-11-15 19:56:29.120 INFO main PropertiesLoaderSupport Properties resource not
found: pgptool-gui-devmode.properties (No such file or directory)
2018-11-15 19:56:29.414 DEBUG main ConfigsBasePathResolverUserHomeImpl Base path
options: [null, /Users/nikitasgNikitas, ~]
2018-11-15 19:56:29.414 DEBUG main ConfigsBasePathResolverUserHomeImpl Testing
path: null
2018-11-15 19:56:29.414 DEBUG main ConfigsBasePathResolverUserHomeImpl Testing
path: /Users/nikitasgNikitas
2018-11-15 19:56:29.417 INFO main ConfigsBasePathResolverUserHomeImpl Path was
chosen as a basepath for config files: /Users/nikitasgNikitas/.pgptool
2018-11-15 19:56:29.895 DEBUG FilesWatcher-MonitoringDecryptedFilesService
MultipleFilesWatcher$2 FileWatcher thread started MonitoringDecryptedFilesService
2018-11-15 19:56:30.932 DEBUG pool-1-thread-2
KeyGeneratorServicePgpImpl$PrecalculateDsaKeyPair Invoking pregeneration of DSA key
pair DsaKeyPairParams [algorithm=DSA, provider=BC, keysize=2048]
2018-11-15 19:56:30.932 DEBUG pool-1-thread-2
KeyGeneratorServicePgpImpl$PrecalculateDsaKeyPair Calculating DSA KeyPair
DsaKeyPairParams [algorithm=DSA, provider=BC, keysize=2048]
2018-11-15 19:56:30.954 INFO pool-1-thread-2
KeyGeneratorServicePgpImpl$PrecalculateDsaKeyPair Started key generation
2018-11-15 19:56:31.130 DEBUG main EntryPoint App context loaded
2018-11-15 19:56:31.131 DEBUG main EntryPoint Shutdown hook registered
2018-11-15 19:56:31.132 DEBUG main EntryPoint EntryPoint bean resolved
2018-11-15 19:56:31.145 INFO Prefetching keys EntryPoint$1 Keys prefetched. Count
0
2018-11-15 19:56:35.834 DEBUG pool-1-thread-3 HistoryQuickSearchPm$3 Refresh for
most popular records subject
2018-11-15 19:56:36.387 DEBUG main EntryPoint entryPoint.startUp() finished
2018-11-15 19:56:36.388 DEBUG main EntryPoint RootPM bean resolved
2018-11-15 19:56:39.120 INFO pool-1-thread-2
KeyGeneratorServicePgpImpl$PrecalculateDsaKeyPair Key generation is complete
2018-11-15 19:56:39.121 DEBUG pool-1-thread-2
KeyGeneratorServicePgpImpl$PrecalculateDsaKeyPair Invocation completed
DsaKeyPairParams [algorithm=DSA, provider=BC, keysize=2048]
2018-11-15 19:56:55.757 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@1d161b08
2018-11-15 19:56:55.758 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@1d161b08
2018-11-15 19:56:55.761 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at
ru.skarpushin.swingpm.base.DialogViewBase.showDialog(DialogViewBase.java:85)
at
org.pgptool.gui.ui.tools.DialogViewBaseCustom.showDialog(DialogViewBaseCustom.java:
53)
at
ru.skarpushin.swingpm.base.DialogViewBase.internalRenderTo(DialogViewBase.java:54)
at
ru.skarpushin.swingpm.base.ViewBase$RenderToRunnable.run(ViewBase.java:133)
at
ru.skarpushin.swingpm.tools.edt.EdtInvokerSimpleImpl.invoke(EdtInvokerSimpleImpl.ja
va:13)
at ru.skarpushin.swingpm.tools.edt.Edt.invokeOnEdtAndWait(Edt.java:25)
at ru.skarpushin.swingpm.base.ViewBase.renderTo(ViewBase.java:116)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.doRenderView(RootPm.java:759)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:755)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.decryptone.DecryptOnePm.doWeHaveKeysToDecryptWith(DecryptOnePm.j
ava:242)
at org.pgptool.gui.ui.decryptone.DecryptOnePm.init(DecryptOnePm.java:151)
at
org.pgptool.gui.ui.decryptonedialog.DecryptOneDialogPm.init(DecryptOneDialogPm.java
:49)
at
org.pgptool.gui.ui.root.RootPm$DecryptionWindowOpener.postConstructPm(RootPm.java:6
14)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.mainframe.MainFrameView$5.actionPerformed(MainFrameView.java:226
)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:2
52)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 150 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 151 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 154 more
2018-11-15 19:56:55.795 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@4c317aaf
2018-11-15 19:56:55.795 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@4c317aaf
2018-11-15 19:56:55.796 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at
ru.skarpushin.swingpm.base.DialogViewBase.showDialog(DialogViewBase.java:85)
at
org.pgptool.gui.ui.tools.DialogViewBaseCustom.showDialog(DialogViewBaseCustom.java:
53)
at
ru.skarpushin.swingpm.base.DialogViewBase.internalRenderTo(DialogViewBase.java:54)
at
ru.skarpushin.swingpm.base.ViewBase$RenderToRunnable.run(ViewBase.java:133)
at
ru.skarpushin.swingpm.tools.edt.EdtInvokerSimpleImpl.invoke(EdtInvokerSimpleImpl.ja
va:13)
at ru.skarpushin.swingpm.tools.edt.Edt.invokeOnEdtAndWait(Edt.java:25)
at ru.skarpushin.swingpm.base.ViewBase.renderTo(ViewBase.java:116)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.doRenderView(RootPm.java:759)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:755)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.decryptone.DecryptOnePm.doWeHaveKeysToDecryptWith(DecryptOnePm.j
ava:242)
at org.pgptool.gui.ui.decryptone.DecryptOnePm.init(DecryptOnePm.java:151)
at
org.pgptool.gui.ui.decryptonedialog.DecryptOneDialogPm.init(DecryptOneDialogPm.java
:49)
at
org.pgptool.gui.ui.root.RootPm$DecryptionWindowOpener.postConstructPm(RootPm.java:6
14)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.mainframe.MainFrameView$5.actionPerformed(MainFrameView.java:226
)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:2
52)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 150 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 151 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 154 more
2018-11-15 19:56:55.811 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@5e2f82e3
2018-11-15 19:56:55.819 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@3a93480
2018-11-15 19:56:58.691 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@470bd33
2018-11-15 19:56:58.697 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@7eb88da9
2018-11-15 19:56:58.700 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@7c4561d6
2018-11-15 19:57:02.614 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@f6932ef
2018-11-15 19:57:02.615 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@f6932ef
2018-11-15 19:57:02.615 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at
ru.skarpushin.swingpm.base.DialogViewBase.showDialog(DialogViewBase.java:85)
at
org.pgptool.gui.ui.tools.DialogViewBaseCustom.showDialog(DialogViewBaseCustom.java:
53)
at
ru.skarpushin.swingpm.base.DialogViewBase.internalRenderTo(DialogViewBase.java:54)
at
ru.skarpushin.swingpm.base.ViewBase$RenderToRunnable.run(ViewBase.java:133)
at
ru.skarpushin.swingpm.tools.edt.EdtInvokerSimpleImpl.invoke(EdtInvokerSimpleImpl.ja
va:13)
at ru.skarpushin.swingpm.tools.edt.Edt.invokeOnEdtAndWait(Edt.java:25)
at ru.skarpushin.swingpm.base.ViewBase.renderTo(ViewBase.java:116)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.doRenderView(RootPm.java:759)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:755)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.decryptone.DecryptOnePm.doWeHaveKeysToDecryptWith(DecryptOnePm.j
ava:242)
at org.pgptool.gui.ui.decryptone.DecryptOnePm.init(DecryptOnePm.java:151)
at
org.pgptool.gui.ui.decryptonedialog.DecryptOneDialogPm.init(DecryptOneDialogPm.java
:49)
at
org.pgptool.gui.ui.root.RootPm$DecryptionWindowOpener.postConstructPm(RootPm.java:6
14)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.mainframe.MainFrameView$5.actionPerformed(MainFrameView.java:226
)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:2
52)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 155 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 156 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 159 more
2018-11-15 19:57:02.618 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@bcf393b
2018-11-15 19:57:02.619 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@bcf393b
2018-11-15 19:57:02.619 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at
ru.skarpushin.swingpm.base.DialogViewBase.showDialog(DialogViewBase.java:85)
at
org.pgptool.gui.ui.tools.DialogViewBaseCustom.showDialog(DialogViewBaseCustom.java:
53)
at
ru.skarpushin.swingpm.base.DialogViewBase.internalRenderTo(DialogViewBase.java:54)
at
ru.skarpushin.swingpm.base.ViewBase$RenderToRunnable.run(ViewBase.java:133)
at
ru.skarpushin.swingpm.tools.edt.EdtInvokerSimpleImpl.invoke(EdtInvokerSimpleImpl.ja
va:13)
at ru.skarpushin.swingpm.tools.edt.Edt.invokeOnEdtAndWait(Edt.java:25)
at ru.skarpushin.swingpm.base.ViewBase.renderTo(ViewBase.java:116)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.doRenderView(RootPm.java:759)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:755)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.decryptone.DecryptOnePm.doWeHaveKeysToDecryptWith(DecryptOnePm.j
ava:242)
at org.pgptool.gui.ui.decryptone.DecryptOnePm.init(DecryptOnePm.java:151)
at
org.pgptool.gui.ui.decryptonedialog.DecryptOneDialogPm.init(DecryptOneDialogPm.java
:49)
at
org.pgptool.gui.ui.root.RootPm$DecryptionWindowOpener.postConstructPm(RootPm.java:6
14)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at
org.pgptool.gui.ui.mainframe.MainFrameView$5.actionPerformed(MainFrameView.java:226
)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:2
52)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 155 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 156 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 159 more
2018-11-15 19:57:02.624 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@3f5b60c3
2018-11-15 19:57:02.625 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@28b9c2ad
2018-11-15 19:57:02.662 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@431434ae
2018-11-15 19:57:03.255 DEBUG pool-1-thread-3 TableColumnsGeometryPersisterImpl
keyImprt_cols6: [(0,234), (1,127), (2,105), (3,66), (4,82), (5,82)]
2018-11-15 19:57:06.953 DEBUG pool-1-thread-1 TableColumnsGeometryPersisterImpl
keyRing_cols6: [(0,198), (1,109), (2,90), (3,58), (4,71), (5,70)]
2018-11-15 19:57:51.596 DEBUG AWT-EventQueue-0 DecryptOnePm$4 Source changed
to : /Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:57:51.597 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Looking for
decryption keys for file /Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:57:51.598 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl
org.bouncycastle.openpgp.PGPEncryptedDataList@2a80e7ad
2018-11-15 19:57:51.598 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Possible
decryption with IDS: [913BDA0EFEE5F546]
2018-11-15 19:57:51.605 DEBUG AWT-EventQueue-0 KeyRingServicePgpImpl Trying to find
decryption key by id: 913BDA0EFEE5F546
2018-11-15 19:57:51.606 DEBUG AWT-EventQueue-0 KeyRingServicePgpImpl Found matching
key: Nikitas G <ngia74@gmail.com>
2018-11-15 19:58:39.912 DEBUG AWT-EventQueue-0 RootPm$DialogOpener Window is
already opened -- just bring it to top
org.pgptool.gui.ui.decryptonedialog.DecryptOneDialogView@1c416c6d
2018-11-15 19:58:43.724 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Pre-
Decrytping to get initial file name from
/Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:58:43.783 WARN AWT-EventQueue-0 DecryptOnePm$4 Wasn't able to find
initial file name from /Users/nikitasgNikitas/Desktop/encrypted.asc. Will use this
name: encrypted
2018-11-15 19:58:49.324 DEBUG Thread-5 EncryptionServicePgpImpl Decrypting
/Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:58:49.337 DEBUG pool-1-thread-4 ChecksumCalcInputStream Opened for
/Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:58:49.337 DEBUG pool-1-thread-4 ChecksumCalcInputStream Closed for
/Users/nikitasgNikitas/Desktop/encrypted.asc
2018-11-15 19:58:49.339 DEBUG pool-1-thread-4 ChecksumCalcInputStream File
/Users/nikitasgNikitas/Desktop/encrypted.asc fingerprint: Fingerprint [size=11672,
checksum=6S7mpRcwLV5JvY1XnEh64dWjm10=]
2018-11-15 19:58:49.342 DEBUG Thread-5 ChecksumCalcOutputStream Opened for
/Users/nikitasgNikitas/.pgptool/decrypted/encrypted
2018-11-15 19:58:49.457 DEBUG Thread-5 ChecksumCalcOutputStream Closed for
/Users/nikitasgNikitas/.pgptool/decrypted/encrypted
2018-11-15 19:58:49.458 DEBUG Thread-5 ChecksumCalcOutputStream File
/Users/nikitasgNikitas/.pgptool/decrypted/encrypted fingerprint: Fingerprint
[size=11061, checksum=+BCBzIeAUQxs0dukb62cN6dBrQY=]
2018-11-15 19:58:49.462 DEBUG Thread-5 DecryptOnePm$7 Decryption completed:
/Users/nikitasgNikitas/.pgptool/decrypted/encrypted
2018-11-15 19:58:49.464 DEBUG pool-1-thread-3 HistoryQuickSearchPm$3 Refresh for
most popular records subject
2018-11-15 19:58:49.485 DEBUG Thread-5 MultipleFilesWatcher New watch key created
for folder /Users/nikitasgNikitas/.pgptool/decrypted, add first file encrypted
2018-11-15 19:58:49.987 DEBUG pool-1-thread-2 TableColumnsGeometryPersisterImpl
mfrmDecrMon_cols2: [(0,410), (1,409)]
2018-11-15 20:02:19.823 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@5d212645
2018-11-15 20:02:19.825 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@5d212645
2018-11-15 20:02:19.826 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:02:19.828 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@660c8dfe
2018-11-15 20:02:19.829 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@660c8dfe
2018-11-15 20:02:19.829 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:02:19.835 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@76a47e0a
2018-11-15 20:02:19.839 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@56ad9a30
2018-11-15 20:02:19.867 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@bf25d39
2018-11-15 20:02:19.867 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@bf25d39
2018-11-15 20:02:19.868 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:02:19.870 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@34804dea
2018-11-15 20:02:19.871 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@34804dea
2018-11-15 20:02:19.872 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:02:19.876 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@11120bda
2018-11-15 20:02:19.878 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@68ddd1c5
2018-11-15 20:02:25.876 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@64dbf3ad
2018-11-15 20:02:25.876 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@64dbf3ad
2018-11-15 20:02:25.877 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:02:25.882 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@7630340
2018-11-15 20:02:25.883 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@7630340
2018-11-15 20:02:25.884 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:02:25.888 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@484ece2
2018-11-15 20:02:25.890 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@b16cc84
2018-11-15 20:04:01.562 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@7123504d
2018-11-15 20:04:01.564 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@7123504d
2018-11-15 20:04:01.564 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:01.565 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@5167ec4e
2018-11-15 20:04:01.566 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@5167ec4e
2018-11-15 20:04:01.568 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:01.570 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@3a2eab22
2018-11-15 20:04:01.571 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@58238582
2018-11-15 20:04:01.582 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@6afa855a
2018-11-15 20:04:01.582 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@6afa855a
2018-11-15 20:04:01.582 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:01.584 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@78a4a748
2018-11-15 20:04:01.585 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@78a4a748
2018-11-15 20:04:01.585 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:01.588 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@ee5055b
2018-11-15 20:04:01.589 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@c706a7c
2018-11-15 20:04:02.790 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@63e061a2
2018-11-15 20:04:02.791 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@63e061a2
2018-11-15 20:04:02.791 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:02.793 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@63d307d5
2018-11-15 20:04:02.793 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@63d307d5
2018-11-15 20:04:02.793 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:02.796 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@4678954d
2018-11-15 20:04:02.797 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@4ccc04f5
2018-11-15 20:04:08.579 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@7ed407b5
2018-11-15 20:04:08.580 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@7ed407b5
2018-11-15 20:04:08.580 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:08.582 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@6347e64c
2018-11-15 20:04:08.583 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@6347e64c
2018-11-15 20:04:08.583 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:08.586 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@2a83d251
2018-11-15 20:04:08.586 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@2a83d251
2018-11-15 20:04:08.587 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:08.589 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@46d76fa
2018-11-15 20:04:08.590 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@46d76fa
2018-11-15 20:04:08.590 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:08.595 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@434c213c
2018-11-15 20:04:08.597 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@1a8f9259
2018-11-15 20:04:08.629 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@611de39c
2018-11-15 20:04:08.629 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@611de39c
2018-11-15 20:04:08.629 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:08.632 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@4c2ccc03
2018-11-15 20:04:08.633 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@4c2ccc03
2018-11-15 20:04:08.634 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:08.635 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@3c5e2a79
2018-11-15 20:04:08.635 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@3c5e2a79
2018-11-15 20:04:08.636 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:08.637 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@3f47d4a7
2018-11-15 20:04:08.638 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@3f47d4a7
2018-11-15 20:04:08.638 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:08.640 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@6123821a
2018-11-15 20:04:08.643 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@1901b5b4
2018-11-15 20:04:12.998 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@60d1025a
2018-11-15 20:04:13.000 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@60d1025a
2018-11-15 20:04:13.001 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:13.004 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@667a6fce
2018-11-15 20:04:13.006 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@667a6fce
2018-11-15 20:04:13.007 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:13.011 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@6477af18
2018-11-15 20:04:13.011 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@6477af18
2018-11-15 20:04:13.012 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:13.014 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@5b555d89
2018-11-15 20:04:13.015 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@5b555d89
2018-11-15 20:04:13.015 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:13.017 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@4b2be446
2018-11-15 20:04:13.019 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@782e2ca6
2018-11-15 20:04:50.626 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@518fa017
2018-11-15 20:04:50.627 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@518fa017
2018-11-15 20:04:50.628 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:50.630 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@3e0ce0e2
2018-11-15 20:04:50.630 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@3e0ce0e2
2018-11-15 20:04:50.631 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:50.635 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@7eebffd8
2018-11-15 20:04:50.636 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@7eebffd8
2018-11-15 20:04:50.638 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:50.639 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@4efedb8a
2018-11-15 20:04:50.640 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@4efedb8a
2018-11-15 20:04:50.640 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:04:50.642 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@61e4ae04
2018-11-15 20:04:50.644 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@6850bcb8
2018-11-15 20:04:50.658 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@8571bb6
2018-11-15 20:04:50.658 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@8571bb6
2018-11-15 20:04:50.658 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:50.660 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@21195d0c
2018-11-15 20:04:50.660 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@21195d0c
2018-11-15 20:04:50.661 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:50.663 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@c3230b1
2018-11-15 20:04:50.663 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@c3230b1
2018-11-15 20:04:50.664 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:50.666 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@3e67d277
2018-11-15 20:04:50.666 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@3e67d277
2018-11-15 20:04:50.667 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:04:50.669 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@5f574db9
2018-11-15 20:04:50.671 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@5433cc7c
2018-11-15 20:05:00.465 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@702805fa
2018-11-15 20:05:00.466 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@702805fa
2018-11-15 20:05:00.467 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:00.471 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@2eb2606d
2018-11-15 20:05:00.472 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@2eb2606d
2018-11-15 20:05:00.475 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:00.478 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@48af26a7
2018-11-15 20:05:00.479 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@48af26a7
2018-11-15 20:05:00.479 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:00.481 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@351e2516
2018-11-15 20:05:00.482 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@351e2516
2018-11-15 20:05:00.482 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:00.485 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@5be6bd9d
2018-11-15 20:05:00.487 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@15d9fae2
2018-11-15 20:05:31.412 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@7619156d
2018-11-15 20:05:31.413 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@7619156d
2018-11-15 20:05:31.414 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:31.415 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@2b08ff5
2018-11-15 20:05:31.415 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@2b08ff5
2018-11-15 20:05:31.416 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:31.418 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@2714c7f4
2018-11-15 20:05:31.418 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@2714c7f4
2018-11-15 20:05:31.418 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:31.420 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@72b3629d
2018-11-15 20:05:31.421 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@72b3629d
2018-11-15 20:05:31.421 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:31.424 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@1e6e909b
2018-11-15 20:05:31.425 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@743e52df
2018-11-15 20:05:31.439 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@342b51a7
2018-11-15 20:05:31.443 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@6c47e66d
2018-11-15 20:05:31.444 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@6c47e66d
2018-11-15 20:05:31.444 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:31.446 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@1b40310
2018-11-15 20:05:31.446 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@1b40310
2018-11-15 20:05:31.446 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:31.448 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@10c0e4c3
2018-11-15 20:05:31.448 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@10c0e4c3
2018-11-15 20:05:31.448 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:31.450 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@2ed9a711
2018-11-15 20:05:31.450 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@2ed9a711
2018-11-15 20:05:31.450 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:31.453 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@75104e64
2018-11-15 20:05:31.454 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@55263d2b
2018-11-15 20:05:32.939 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@61105aa2
2018-11-15 20:05:32.939 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@61105aa2
2018-11-15 20:05:32.939 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:32.941 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@75eace7
2018-11-15 20:05:32.941 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@75eace7
2018-11-15 20:05:32.942 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:32.944 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@458c63ba
2018-11-15 20:05:32.945 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@458c63ba
2018-11-15 20:05:32.945 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:32.946 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@4d111b05
2018-11-15 20:05:32.947 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@4d111b05
2018-11-15 20:05:32.947 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:32.948 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@27561ce
2018-11-15 20:05:32.949 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@2b53bfbb
2018-11-15 20:05:37.230 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@22229c37
2018-11-15 20:05:37.230 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@22229c37
2018-11-15 20:05:37.230 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:37.232 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@72ec26a6
2018-11-15 20:05:37.232 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@72ec26a6
2018-11-15 20:05:37.232 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:37.237 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@c8de420
2018-11-15 20:05:37.240 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@31656f4a
2018-11-15 20:05:37.242 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@13a45c9d
2018-11-15 20:05:37.242 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@13a45c9d
2018-11-15 20:05:37.242 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:37.246 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@401da105
2018-11-15 20:05:37.246 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@401da105
2018-11-15 20:05:37.246 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 90 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 91 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 94 more
2018-11-15 20:05:37.248 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@2d0c9e44
2018-11-15 20:05:37.249 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@48301d59
2018-11-15 20:05:38.378 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@67e0ad5b
2018-11-15 20:05:38.379 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@21e41d3e
2018-11-15 20:05:38.380 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@20415b7e
2018-11-15 20:05:39.599 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@46e7a681
2018-11-15 20:05:39.599 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@46e7a681
2018-11-15 20:05:39.600 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:39.601 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@8584dba
2018-11-15 20:05:39.602 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@8584dba
2018-11-15 20:05:39.602 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: invalid header encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: invalid header encountered
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPMarker.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:39.604 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@23b9be2f
2018-11-15 20:05:39.605 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@1916ef4f
2018-11-15 20:05:39.605 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@1d4392d4
2018-11-15 20:05:39.606 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@1d4392d4
2018-11-15 20:05:39.606 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$FileRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1105)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:39.609 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPEncryptedDataList@78613eb1
2018-11-15 20:05:39.609 ERROR AWT-EventQueue-0 KeyFilesOperationsPgpImpl Unknown
section enountered in a key file:
org.bouncycastle.openpgp.PGPEncryptedDataList@78613eb1
2018-11-15 20:05:39.609 DEBUG AWT-EventQueue-0 KeyImporterPm$1$1 File is not
accepte for file chooser becasue was not able to read it as a key
java.lang.RuntimeException: Can't read key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:81)
at
org.pgptool.gui.ui.importkey.KeyImporterPm$1$1.accept(KeyImporterPm.java:140)
at javax.swing.JFileChooser.accept(JFileChooser.java:1650)
at
com.apple.laf.AquaFileChooserUI$OpenFilePanel.isSelectableInList(AquaFileChooserUI.
java:2128)
at
com.apple.laf.AquaFileChooserUI.isSelectableInList(AquaFileChooserUI.java:545)
at
com.apple.laf.AquaFileChooserUI$DateRenderer.getTableCellRendererComponent(AquaFile
ChooserUI.java:1124)
at javax.swing.JTable.prepareRenderer(JTable.java:5729)
at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2114)
at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:2016)
at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1812)
at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
at javax.swing.JComponent.paintComponent(JComponent.java:780)
at javax.swing.JComponent.paint(JComponent.java:1056)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JViewport.paint(JViewport.java:728)
at javax.swing.JComponent.paintChildren(JComponent.java:889)
at javax.swing.JComponent.paint(JComponent.java:1065)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)
at
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:157
9)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1502)
at javax.swing.RepaintManager.paint(RepaintManager.java:1272)
at javax.swing.JComponent._paintImmediately(JComponent.java:5158)
at javax.swing.JComponent.paintImmediately(JComponent.java:4969)
at javax.swing.RepaintManager$4.run(RepaintManager.java:831)
at javax.swing.RepaintManager$4.run(RepaintManager.java:814)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)
at javax.swing.RepaintManager.access$1200(RepaintManager.java:64)
at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.awt.Dialog.show(Dialog.java:1084)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:758)
at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
at
org.pgptool.gui.ui.tools.browsefs.MultipleFilesChooserDialog.askUserForMultipleFile
s(MultipleFilesChooserDialog.java:54)
at org.pgptool.gui.ui.importkey.KeyImporterPm.init(KeyImporterPm.java:88)
at org.pgptool.gui.ui.root.RootPm$6.postConstructPm(RootPm.java:400)
at org.pgptool.gui.ui.root.RootPm$DialogOpener.openWindow(RootPm.java:745)
at
org.pgptool.gui.ui.root.RootPm$DialogOpener$1.actionPerformed(RootPm.java:726)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
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:842)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:8
86)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Prote
ctionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Error happenedd while parsing key file
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:160)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyFromFile(KeyFil
esOperationsPgpImpl.java:70)
... 95 more
Caused by: org.bouncycastle.openpgp.PGPRuntimeOperationException: Iterator failed
to get next object: unknown PGP public key algorithm encountered
at org.bouncycastle.openpgp.PGPObjectFactory$1.getObject(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory$1.hasNext(Unknown Source)
at
org.pgptool.gui.encryption.implpgp.KeyFilesOperationsPgpImpl.readKeyData(KeyFilesOp
erationsPgpImpl.java:147)
... 96 more
Caused by: java.io.IOException: unknown PGP public key algorithm encountered
at org.bouncycastle.bcpg.PublicKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.SecretKeyPacket.<init>(Unknown Source)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(Unknown Source)
at org.bouncycastle.openpgp.PGPSecretKeyRing.<init>(Unknown Source)
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
... 99 more
2018-11-15 20:05:39.612 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@4543b535
2018-11-15 20:05:39.613 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@21e7c535
2018-11-15 20:05:39.675 DEBUG AWT-EventQueue-0 KeyFilesOperationsPgpImpl Section
found: org.bouncycastle.openpgp.PGPSecretKeyRing@1710a2b6
2018-11-15 20:05:55.102 DEBUG AWT-EventQueue-0 DecryptOnePm$4 Source changed
to : /Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:05:55.102 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Looking for
decryption keys for file /Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:05:55.103 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl
org.bouncycastle.openpgp.PGPEncryptedDataList@b78d17b
2018-11-15 20:05:55.104 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Possible
decryption with IDS: [913BDA0EFEE5F546]
2018-11-15 20:05:55.105 DEBUG AWT-EventQueue-0 KeyRingServicePgpImpl Trying to find
decryption key by id: 913BDA0EFEE5F546
2018-11-15 20:05:55.105 DEBUG AWT-EventQueue-0 KeyRingServicePgpImpl Found matching
key: Nikitas G <ngia74@gmail.com>
2018-11-15 20:05:55.105 DEBUG AWT-EventQueue-0 EncryptionServicePgpImpl Pre-
Decrytping to get initial file name from /Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:05:55.144 WARN AWT-EventQueue-0 DecryptOnePm$4 Wasn't able to find
initial file name from /Users/nikitasgNikitas/Desktop/mfa.asc. Will use this name:
mfa
2018-11-15 20:06:01.952 DEBUG Thread-7 EncryptionServicePgpImpl Decrypting
/Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:06:01.952 DEBUG pool-1-thread-3 ChecksumCalcInputStream Opened for
/Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:06:01.954 DEBUG pool-1-thread-3 ChecksumCalcInputStream Closed for
/Users/nikitasgNikitas/Desktop/mfa.asc
2018-11-15 20:06:01.954 DEBUG pool-1-thread-3 ChecksumCalcInputStream File
/Users/nikitasgNikitas/Desktop/mfa.asc fingerprint: Fingerprint [size=9364,
checksum=fR/h4A3aBiT/gpJNMdAW+2KmQ98=]
2018-11-15 20:06:01.969 DEBUG Thread-7 ChecksumCalcOutputStream Opened for
/Users/nikitasgNikitas/Desktop/mfa
2018-11-15 20:06:02.041 DEBUG Thread-7 ChecksumCalcOutputStream Closed for
/Users/nikitasgNikitas/Desktop/mfa
2018-11-15 20:06:02.041 DEBUG Thread-7 ChecksumCalcOutputStream File
/Users/nikitasgNikitas/Desktop/mfa fingerprint: Fingerprint [size=8837,
checksum=ZCiP9/PRpve7e3mYsO7WrZCsADo=]
2018-11-15 20:06:02.044 DEBUG Thread-7 DecryptOnePm$7 Decryption completed:
/Users/nikitasgNikitas/Desktop/mfa
2018-11-15 20:06:02.044 DEBUG pool-1-thread-4 HistoryQuickSearchPm$3 Refresh for
most popular records subject
2018-11-15 20:06:02.053 DEBUG Thread-7 MultipleFilesWatcher New watch key created
for folder /Users/nikitasgNikitas/Desktop, add first file mfa
2018-11-15 20:06:25.108 DEBUG AWT-EventQueue-0 EntryPoint Tearing down context
2018-11-15 20:06:25.110 INFO AWT-EventQueue-0 AbstractApplicationContext Closing
org.springframework.context.support.ClassPathXmlApplicationContext@5cbc508c:
startup date [Thu Nov 15 19:56:28 EET 2018]; root of context hierarchy
2018-11-15 20:06:25.111 DEBUG FilesWatcher-MonitoringDecryptedFilesService
MultipleFilesWatcher$2 FileWatcher thread stopped by InterruptedException
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterru
ptAfterWait(AbstractQueuedSynchronizer.java:2014)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Abstrac
tQueuedSynchronizer.java:2048)
at
java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:492)
at
java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:680)
at sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
at
org.pgptool.gui.tools.fileswatcher.MultipleFilesWatcher$2.run(MultipleFilesWatcher.
java:166)
2018-11-15 20:06:25.112 INFO MultipleFilesWatcher$1@53045c6c
RecurringBackgroundTask$1 Envelope finished for
org.pgptool.gui.tools.fileswatcher.MultipleFilesWatcher$1@53045c6c
2018-11-15 20:06:25.114 DEBUG AWT-EventQueue-0 EntryPoint Context stopped, closed,
destroyed
2018-11-15 20:06:25.116 DEBUG Thread-0 FileBasedLock Lock
/var/folders/n8/8t4wlv653318d8vwypflf6f00000gn/T/pgptool-si/pgptool-si.role-lock
released