Skip to content

Commit db1a3d3

Browse files
committed
fix wrong display of entropy warning
1 parent c6ce541 commit db1a3d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

encryptcontent/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,5 +677,5 @@ def on_post_build(self, config, **kwargs):
677677
if min_enttropy_spied_on < 100 and min_enttropy_spied_on > 0:
678678
logger.warning('mkdocs-encryptcontent-plugin will always be vulnerable to brute-force attacks!'
679679
' Your weakest password only got {spied_on} bits of entropy, if someone watched you while typing'
680-
' (and a maximum of {secret} bits total)!'.format(spied_on = math.ceil(enttropy_spied_on), secret = math.ceil(min_enttropy_secret))
680+
' (and a maximum of {secret} bits total)!'.format(spied_on = math.ceil(min_enttropy_spied_on), secret = math.ceil(min_enttropy_secret))
681681
)

0 commit comments

Comments
 (0)