covert-encryption / covert

An encryption format offering better security, performance and ease of use than PGP. File a bug if you found anything where we are worse than our competition, and we will fix it.
40 stars 10 forks source link

Improve CLI error messages and testing #64

Closed covert-encryption closed 2 years ago

covert-encryption commented 2 years ago

A better diagnostic when -r github:username is used, because only -R github:username is accepted. The strings given to -r are generally regarded untrusted, so we don't want to allow them to make any Internet connections. -R takes filenames too, so its inputs must be properly validated anyway.

codecov[bot] commented 2 years ago

Codecov Report

Merging #64 (ffdc29b) into main (e8e5f12) will increase coverage by 1.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   67.78%   68.96%   +1.18%     
==========================================
  Files          22       22              
  Lines        2086     2088       +2     
  Branches      487      488       +1     
==========================================
+ Hits         1414     1440      +26     
+ Misses        531      508      -23     
+ Partials      141      140       -1     
Impacted Files Coverage Δ
covert/cli.py 62.85% <100.00%> (+4.94%) :arrow_up:
covert/pubkey.py 73.54% <0.00%> (+5.82%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e8e5f12...ffdc29b. Read the comment docs.