Skip to content

Commit 8b3eea9

Browse files
committed
- Added # nosec to random_word method to avoid issues with bandit. The random_word() method is used to generate a placeholder name for pkcs12 format.
1 parent 55cf860 commit 8b3eea9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vcert/pem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ def as_pkcs12(self, passphrase=None):
122122

123123
def random_word(length):
124124
letters = string.ascii_lowercase
125-
return ''.join(random.choice(letters) for _ in range(length))
125+
return ''.join(random.choice(letters) for _ in range(length)) # nosec

0 commit comments

Comments
 (0)