Have you had a look at this: https://github.com/apache/mina-sshd/tree/master/sshd-core/src/main/java/org/apache/sshd/common/digest
Cheers, Stefan 2018-01-12 16:31 GMT+01:00 Dennis van der Laan <[email protected]>: > Hi, > > I made an integration between SSHD and Apache Jackrabbit, so we can upload > content to Jackrabbit through Sftp. > We sync contents with a synchronization client (Beyond Compare - > https://www.scootersoftware.com/) which sends [crc32] as a hash algorithm > to compare the contents of files. > I get a java.lang.IllegalArgumentException: No matching digest factory > found for [crc32]. > In the SftpSubsystem.doCheckFileHash() I found that algorithms are checked > against the BuiltinDigests, and [crc32] is not a builtin digest. What would > be the best way to add a new digest for file hashing? > > Thanks in advance, > Dennis > > -- > D.G. van der Laan, MSc > Sr. Software Engineer, Center for Information Technology > +31 (0)50 363 9273 > -- BEKK Open http://open.bekk.no TesTcl - a unit test framework for iRules http://testcl.com
