(reformat-private-key-if-needed s)
JSch expects a private key with new-line characters as described in RFC-4716. However, it's usefull to pass private keys around as a single-line string where new-lines are replaced with space. This fn will convert a single-line private key back to multi-line format and make JSch happy.
JSch expects a private key with new-line characters as described in RFC-4716. However, it's usefull to pass private keys around as a single-line string where new-lines are replaced with space. This fn will convert a single-line private key back to multi-line format and make JSch happy.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close