Task #2349
Story #2045: Get the DataONE CLI ready for public release
Default algorithm "SHA-1" is not allowed.
Status:
Closed
Priority:
Normal
Assignee:
Andrew Pippin
Category:
d1_client_cli
Target version:
Start date:
2012-02-17
Due date:
% Done:
100%
Estimated time:
1.00 h
Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:
Description
When invoking the CLI, the system default algorithm is "SHA-1", which is no longer allowed.
History
#1 Updated by Andrew Pippin almost 13 years ago
According to Roger Dahl:
This is a bug due to a change of the DataONE default hashing algorithm in d1_common.const from "SHA1" to "SHA-1". We used to allow both on the Python side, but changed that, as I mentioned. However, only "SHA1" is valid when creating a hashing object by name in Python.
The fix is to use a map between DataONE names for the algorithms and the Python names. I've already implemented that, but don't use it in the CLI.
#2 Updated by Andrew Pippin almost 13 years ago
- % Done changed from 0 to 100
#3 Updated by Roger Dahl almost 13 years ago
- Parent task set to #2045
#4 Updated by Roger Dahl almost 13 years ago
- Status changed from New to Closed