Cryptographic verification for charmhelpers.fetch
Bug #1218438 reported by
Matthew Wedgwood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Low
|
Unassigned |
Bug Description
One of the features of the original charm-helpers shell library was cryptographic verification of downloaded files. A similar feature should be added to charmhelpers.fetch.
To post a comment you must log in.
This appears to be implemented: https:/ /pythonhosted. org/charmhelper s/api/charmhelp ers.fetch. html#charmhelpe rs.fetch. install_ remote
The example provided demonstrates SHA-1 verification:
dest = install_remote('http:// example. com/archive. tgz',
checksum= 'deadbeef' ,
hash_ type='sha1' )