{"action":"closed","issue":{"url":"https://api.github.com/repos/ato/clojars-web/issues/134","labels_url":"https://api.github.com/repos/ato/clojars-web/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/ato/clojars-web/issues/134/comments","events_url":"https://api.github.com/repos/ato/clojars-web/issues/134/events","html_url":"https://github.com/ato/clojars-web/issues/134","id":11829151,"number":134,"title":"PGPException when viewing https://clojars.org/swank-clojure while logged in","user":{"login":"tobias","id":2631,"avatar_url":"https://avatars.githubusercontent.com/u/2631?v=3","gravatar_id":"","url":"https://api.github.com/users/tobias","html_url":"https://github.com/tobias","followers_url":"https://api.github.com/users/tobias/followers","following_url":"https://api.github.com/users/tobias/following{/other_user}","gists_url":"https://api.github.com/users/tobias/gists{/gist_id}","starred_url":"https://api.github.com/users/tobias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobias/subscriptions","organizations_url":"https://api.github.com/users/tobias/orgs","repos_url":"https://api.github.com/users/tobias/repos","events_url":"https://api.github.com/users/tobias/events{/privacy}","received_events_url":"https://api.github.com/users/tobias/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ato/clojars-web/labels/bug","name":"bug","color":"e87474"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-03-08T23:00:10Z","updated_at":"2015-03-17T17:55:08Z","closed_at":"2015-03-17T17:55:08Z","body":"The issue goes away when I log out. The key in question is likely mine, since I released the latest version. This may be related to #130 - that's my certificate as well, but is a different error.\r\n\r\n```\r\norg.bouncycastle.openpgp.PGPException: invalid key.\r\n                   (Unknown Source) org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentVerifierBuilderProvider$JcaPGPContentVerifierBuilder.build\r\n                   (Unknown Source) org.bouncycastle.openpgp.PGPSignature.init\r\n                   (Unknown Source) org.bouncycastle.openpgp.PGPSignature.initVerify\r\n                   (Unknown Source) org.bouncycastle.openpgp.PGPSignature.initVerify\r\n                   (Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0\r\n   NativeMethodAccessorImpl.java:57 sun.reflect.NativeMethodAccessorImpl.invoke\r\nDelegatingMethodAccessorImpl.java:43 sun.reflect.DelegatingMethodAccessorImpl.invoke\r\n                    Method.java:616 java.lang.reflect.Method.invoke\r\n                  Reflector.java:93 clojure.lang.Reflector.invokeMatchingMethod\r\n                  Reflector.java:28 clojure.lang.Reflector.invokeInstanceMethod\r\n                     promote.clj:38 clojars.promote/verify\r\n                     promote.clj:78 clojars.promote/signed-with?[fn]\r\n                      core.clj:2390 clojure.core/some\r\n                     promote.clj:78 clojars.promote/signed-with?\r\n                     promote.clj:83 clojars.promote/signed?\r\n                    promote.clj:111 clojars.promote/blockers\r\n                         jar.clj:52 clojars.web.jar/promotion-details\r\n                        jar.clj:105 clojars.web.jar/show-jar\r\n                    artifact.clj:17 clojars.routes.artifact/show\r\n                    artifact.clj:36 clojars.routes.artifact/fn\r\n                        core.clj:93 compojure.core/make-route[fn]\r\n                        core.clj:39 compojure.core/if-route[fn]\r\n                        core.clj:24 compojure.core/if-method[fn]\r\n                       core.clj:106 compojure.core/routing[fn]\r\n                      core.clj:2390 clojure.core/some\r\n                       core.clj:106 compojure.core/routing\r\n                    RestFn.java:139 clojure.lang.RestFn.applyTo\r\n                       core.clj:603 clojure.core/apply\r\n                       core.clj:111 compojure.core/routes[fn]\r\n                       core.clj:106 compojure.core/routing[fn]\r\n                      core.clj:2390 clojure.core/some\r\n                       core.clj:106 compojure.core/routing\r\n                    RestFn.java:139 clojure.lang.RestFn.applyTo\r\n                       core.clj:603 clojure.core/apply\r\n                       core.clj:111 compojure.core/routes[fn]\r\n                     friend.clj:190 cemerick.friend/authenticate*\r\n                     friend.clj:205 cemerick.friend/authenticate[fn]\r\n                anti_forgery.clj:55 ring.middleware.anti-forgery/wrap-anti-forgery[fn]\r\n                  error_page.clj:22 clojars.web.error-page/wrap-exceptions[fn]\r\n              keyword_params.clj:27 ring.middleware.keyword-params/wrap-keyword-params[fn]\r\n               nested_params.clj:65 ring.middleware.nested-params/wrap-nested-params[fn]\r\n                      params.clj:55 ring.middleware.params/wrap-params[fn]\r\n           multipart_params.clj:103 ring.middleware.multipart-params/wrap-multipart-params[fn]\r\n                       flash.clj:14 ring.middleware.flash/wrap-flash[fn]\r\n                     session.clj:43 ring.middleware.session/wrap-session[fn]\r\n                    cookies.clj:160 ring.middleware.cookies/wrap-cookies[fn]\r\n                    resource.clj:17 ring.middleware.resource/wrap-resource[fn]\r\n                   file_info.clj:40 ring.middleware.file-info/wrap-file-info[fn]\r\n                       core.clj:106 compojure.core/routing[fn]\r\n                      core.clj:2390 clojure.core/some\r\n                       core.clj:106 compojure.core/routing\r\n                    RestFn.java:139 clojure.lang.RestFn.applyTo\r\n                       core.clj:603 clojure.core/apply\r\n                       core.clj:111 compojure.core/routes[fn]\r\n                       Var.java:415 clojure.lang.Var.invoke\r\n                       jetty.clj:18 ring.adapter.jetty/proxy-handler[fn]\r\n                   (Unknown Source) ring.adapter.jetty.proxy$org.eclipse.jetty.server.handler.AbstractHandler$0.handle\r\n            HandlerWrapper.java:111 org.eclipse.jetty.server.handler.HandlerWrapper.handle\r\n                    Server.java:349 org.eclipse.jetty.server.Server.handle\r\n    AbstractHttpConnection.java:452 org.eclipse.jetty.server.AbstractHttpConnection.handleRequest\r\n    AbstractHttpConnection.java:884 org.eclipse.jetty.server.AbstractHttpConnection.headerComplete\r\n    AbstractHttpConnection.java:938 org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete\r\n                HttpParser.java:634 org.eclipse.jetty.http.HttpParser.parseNext\r\n                HttpParser.java:230 org.eclipse.jetty.http.HttpParser.parseAvailable\r\n        AsyncHttpConnection.java:76 org.eclipse.jetty.server.AsyncHttpConnection.handle\r\n     SelectChannelEndPoint.java:609 org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle\r\n      SelectChannelEndPoint.java:45 org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run\r\n          QueuedThreadPool.java:599 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob\r\n          QueuedThreadPool.java:534 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run\r\n                    Thread.java:679 java.lang.Thread.run\r\nCaused by: java.security.InvalidKeyException: Supplied key (org.bouncycastle.jcajce.provider.asymmetric.dsa.BCDSAPublicKey) is not a RSAPublicKey instance\r\n                   (Unknown Source) org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi.engineInitVerify\r\n                Signature.java:1104 java.security.Signature$Delegate.engineInitVerify\r\n                 Signature.java:437 java.security.Signature.initVerify\r\n```"}}