Skip to content
  • Joey Hess's avatar
    addurl, importfeed: Fix failure when annex.securehashesonly is set · 24ae4b29
    Joey Hess authored
    The temporary URL key used for the download, before the real key is
    generated, was blocked by annex.securehashesonly.
    
    Fixed by passing the Backend that will be used for the final key into
    runTransfer. When a Backend is provided, have preCheckSecureHashes
    check that, rather than the key being transferred.
    
    Sponsored-by: unqueued on Patreon
    24ae4b29