epiccastle / bbssh

Babashka pod for SSH support.
Eclipse Public License 2.0
56 stars 5 forks source link

NoClassDefFoundError: org/bouncycastle/crypto/params/Ed25519PrivateKeyParameters #5

Closed retrogradeorbit closed 2 years ago

retrogradeorbit commented 2 years ago
(key-pair/generate agent :ed25519 1024)
clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/params/Ed25519PrivateKeyParameters
{:type :sci/error, :line 21, :column 5, :message "java.lang.NoClassDefFoundError: org/bouncycastle/crypto/params/Ed25519PrivateKeyParameters", :sci.impl/callstack #object[clojure.lang.Volatile 0x24caaaf1 {:status :ready, :val ({:line 88, :column 17, :ns #object[sci.lang.Namespace 0x6b8366c4 "bb-test.test-openssh-config"], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/test_openssh_config.clj", :sci.impl/f-meta {:name generate, :ns #object[sci.lang.Namespace 0xd6206ce "pod.epiccastle.bbssh.key-pair"], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/core.clj", :line 11, :column 1, :arglists ([agent key-type] [agent key-type key-size]), :doc "Generate a public/private SSH key pair.\n  `key-type` should be `:dsa`, `:rsa`, `:ecdsa`, `:ed25519`\n  or `:ed448`.\n  `key-size` is the number of bits and defaults to 2048.\n  "}} {:line 20, :column 4, :ns #object[sci.lang.Namespace 0xd6206ce "pod.epiccastle.bbssh.key-pair"], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/core.clj", :sci.impl/f-meta {:name register, :ns #object[sci.lang.Namespace 0x320595b2 "pod.epiccastle.bbssh.impl.cleaner"], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/core.clj", :line 36, :column 1, :arglists ([key]), :doc "Register a key (a vector of namespace and name) returned from\n  the pod `invoke` to garbage collected. Returns the keyword to be used\n  inside babashka code.\n  "}} {:line 21, :column 5, :ns #object[sci.lang.Namespace 0xd6206ce "pod.epiccastle.bbssh.key-pair"], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/core.clj", :sci.impl/f-meta {:name generate}})}], :file "/home/crispin/dev/clojure/bbssh/test/./bb_test/core.clj"}
 at sci.impl.utils$rethrow_with_location_of_node.invokeStatic (utils.cljc:128)
    sci.impl.analyzer$return_call$reify__5234.eval (analyzer.cljc:1211)
    sci.impl.analyzer$return_call$reify__5226.eval (analyzer.cljc:1211)
    sci.impl.fns$fun$arity_3__3551.invoke (fns.cljc:108)
    clojure.lang.AFn.applyToHelper (AFn.java:160)
    clojure.lang.AFn.applyTo (AFn.java:144)
    clojure.core$apply.invokeStatic (core.clj:667)
    sci.impl.fns$eval_fn$fn__4020.doInvoke (fns.cljc:152)
    clojure.lang.RestFn.invoke (RestFn.java:436)
    sci.lang.Var.invoke (lang.cljc:184)
    sci.impl.analyzer$return_call$reify__5234.eval (analyzer.cljc:1211)
    sci.impl.evaluator$eval_let$fn__2721.invoke (evaluator.cljc:62)
    sci.impl.evaluator$eval_let.invokeStatic (evaluator.cljc:53)
    sci.impl.analyzer$analyze_let_STAR_$reify__4891.eval (analyzer.cljc:509)
    sci.impl.evaluator$eval_do.invokeStatic (evaluator.cljc:275)
    sci.impl.analyzer$return_do$reify__4254.eval (analyzer.cljc:139)
    sci.impl.fns$fun$arity_0__3530.invoke (fns.cljc:105)
    babashka.impl.clojure.test$test_var_impl$fn__30095.invoke (test.clj:719)
    babashka.impl.clojure.test$test_var_impl.invokeStatic (test.clj:719)
    babashka.impl.clojure.test$test_var_impl.invoke (test.clj:710)
    sci.lang.Var.invoke (lang.cljc:180)
    babashka.impl.clojure.test$test_vars$fn__30131$fn__30136.invoke (test.clj:742)
    babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689)
    babashka.impl.clojure.test$default_fixture.invoke (test.clj:685)
    babashka.impl.clojure.test$test_vars$fn__30131.invoke (test.clj:742)
    babashka.impl.clojure.test$default_fixture.invokeStatic (test.clj:689)
    babashka.impl.clojure.test$default_fixture.invoke (test.clj:685)
    babashka.impl.clojure.test$test_vars.invokeStatic (test.clj:738)
    babashka.impl.clojure.test$test_all_vars.invokeStatic (test.clj:745)
    babashka.impl.clojure.test$test_ns.invokeStatic (test.clj:767)
    babashka.impl.clojure.test$run_tests$fn__30151.invoke (test.clj:784)
    clojure.core$map$fn__5935.invoke (core.clj:2772)
    clojure.lang.LazySeq.sval (LazySeq.java:42)
    clojure.lang.LazySeq.seq (LazySeq.java:51)
    clojure.lang.Cons.next (Cons.java:39)
    clojure.lang.RT.boundedLength (RT.java:1790)
    clojure.lang.RestFn.applyTo (RestFn.java:130)
    clojure.core$apply.invokeStatic (core.clj:669)
    babashka.impl.clojure.test$run_tests.invokeStatic (test.clj:777)
    babashka.impl.clojure.test$run_tests.doInvoke (test.clj:777)
    clojure.lang.RestFn.applyTo (RestFn.java:139)
    clojure.core$apply.invokeStatic (core.clj:669)
    babashka.impl.test$contextualize$fn__30162.doInvoke (test.clj:7)
    clojure.lang.RestFn.invoke (RestFn.java:408)
    sci.lang.Var.invoke (lang.cljc:180)
    sci.impl.analyzer$return_call$reify__5226.eval (analyzer.cljc:1211)
    sci.impl.evaluator$eval_let$fn__2721.invoke (evaluator.cljc:62)
    sci.impl.evaluator$eval_let.invokeStatic (evaluator.cljc:53)
    sci.impl.analyzer$analyze_let_STAR_$reify__4891.eval (analyzer.cljc:509)
    sci.impl.fns$fun$arity_0__3026.doInvoke (fns.cljc:83)
    clojure.lang.RestFn.invoke (RestFn.java:397)
    clojure.lang.AFn.applyToHelper (AFn.java:152)
    clojure.lang.RestFn.applyTo (RestFn.java:132)
    clojure.core$apply.invokeStatic (core.clj:667)
    clojure.core$apply.invoke (core.clj:662)
    sci.lang.Var.invoke (lang.cljc:182)
    sci.impl.analyzer$return_call$reify__5230.eval (analyzer.cljc:1211)
    sci.impl.interpreter$eval_form.invokeStatic (interpreter.cljc:39)
    sci.impl.interpreter$eval_string_STAR_.invokeStatic (interpreter.cljc:61)
    sci.core$eval_string_STAR_.invokeStatic (core.cljc:261)
    babashka.main$exec$fn__31111$fn__31112.invoke (main.clj:978)
    babashka.main$exec$fn__31111.invoke (main.clj:978)
    babashka.main$exec.invokeStatic (main.clj:968)
    babashka.main$main.invokeStatic (main.clj:1075)
    babashka.main$main.doInvoke (main.clj:1050)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invokeStatic (core.clj:667)
    babashka.main$_main.invokeStatic (main.clj:1108)
    babashka.main$_main.doInvoke (main.clj:1100)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    babashka.main.main (:-1)
Caused by: clojure.lang.ExceptionInfo: java.lang.NoClassDefFoundError: org/bouncycastle/crypto/params/Ed25519PrivateKeyParameters
{:type com.jcraft.jsch.JSchException}
 at babashka.pods.impl$processor.invokeStatic (impl.clj:205)
    babashka.pods.sci$load_pod$fn__27402.invoke (sci.clj:122)
    sci.impl.vars$binding_conveyor_fn$fn__424.invoke (vars.cljc:133)
    clojure.core$binding_conveyor_fn$fn__5823.invoke (core.clj:2047)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:264)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    java.lang.Thread.run (Thread.java:829)
    com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine (PlatformThreads.java:705)
    com.oracle.svm.core.posix.thread.PosixPlatformThreads.pthreadStartRoutine (PosixPlatformThreads.java:202)