hwchen / keyring-rs

Cross-platform library and utility to manage passwords
Apache License 2.0
450 stars 49 forks source link

On windows, don't make slices from empty passwords. #171

Closed brotskydotcom closed 1 month ago

brotskydotcom commented 1 month ago

Apparently, if the password is empty, it may not be word-aligned. Starting with rust 178, this means you can't make a slice out of it.

This fixes #170.