Cryptographic verification for charmhelpers.fetch

Bug #1218438 reported by Matthew Wedgwood
6
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.

Revision history for this message
Nathan Osman (george-edison55) wrote :

This appears to be implemented: https://pythonhosted.org/charmhelpers/api/charmhelpers.fetch.html#charmhelpers.fetch.install_remote

The example provided demonstrates SHA-1 verification:

    dest = install_remote('http://example.com/archive.tgz',
          checksum='deadbeef',
          hash_type='sha1')

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.