This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 0a99664c73c98976d8e0ffe7626b5306978e7cca
Author: Greg Stein <[email protected]>
AuthorDate: Tue Sep 30 17:43:10 2025 -0500

    urlsafe_b64encode() takes and returns BYTES
---
 v3/steve/crypto.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v3/steve/crypto.py b/v3/steve/crypto.py
index cb63c84..cdc6489 100644
--- a/v3/steve/crypto.py
+++ b/v3/steve/crypto.py
@@ -49,7 +49,7 @@ def gen_vote_token(opened_key: bytes, pid: str, iid: str, 
salt: bytes) -> bytes:
     return _hash(opened_key + pid.encode() + iid.encode(), salt)
 
 
-def _b64_vote_key(vote_token: bytes, salt: bytes) -> str:
+def _b64_vote_key(vote_token: bytes, salt: bytes) -> bytes:
     "Key-stretch the vote_token. (ref: PBKDF)"
 
     ### still using Fernet now, but will switch soon. Leaving comments.

Reply via email to