frankbraun / codechain

Codechain — code trust through hash chains
The Unlicense
45 stars 11 forks source link

setting $CODECHAIN_DIR should not effect `secpkg` #11

Closed idunna closed 4 years ago

idunna commented 4 years ago

Setting $CODECHAIN_DIR effects secpkg.UpToDate and leads to a failure of the update check. This patch introduces def.UnoverwriteableHashchainFile and uses it in the secpkg package in order to fix problem.

frankbraun commented 4 years ago

Thanks!