[Cyberduck-trac] [Cyberduck] #9662: Support SHA256 checksums and use checksum verification

Cyberduck trac at trac.cyberduck.io
Thu Sep 8 08:11:58 UTC 2016


#9662: Support SHA256 checksums and use checksum verification
--------------------------+------------------------
 Reporter:  carsten.jahn  |         Owner:  dkocher
     Type:  enhancement   |        Status:  closed
 Priority:  normal        |     Milestone:  5.2
Component:  irods         |       Version:  5.0.11
 Severity:  normal        |    Resolution:  fixed
 Keywords:                |  Architecture:
 Platform:                |
--------------------------+------------------------

Comment (by carsten.jahn):

 I've had a look at the changes - looks good in general, but I wanted to
 point out that there are still two types of checksums that iRODS may
 return, depending on iRODS server configuration and/or how the client
 uploaded a file.

 If you want to work with the checksum obtained from iRODS, the checksum
 string may

 - start with "sha2:" - then remove the prefix and treat it as base64
 encoded with SHA256 algorithm (looks like the prefix is currently not
 removed)
 - does not start with "sha2:" - then treat it as base16 encoded with MD5
 algorithm (just as the earlier implementation did)

 Supporting both cases would cover many possible iRODS setups (IMHO).

--
Ticket URL: <https://trac.cyberduck.io/ticket/9662#comment:13>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list