JetpackDuba / Gitnuro

A FOSS Git multiplatform client for newbies and pros
https://gitnuro.com/
GNU General Public License v3.0
946 stars 46 forks source link

Credentials Cache: Added some special characters to improve random key pattern #155

Closed Flashdown closed 1 year ago

JetpackDuba commented 1 year ago

Hey!

Unfortunately the PR as it is does not build, Kotlin (like the C family) makes a distinction between simple and double quotes. It would also need to be cast to a list of chars.

If you want you can change it to this line and I can accept it:

val allowedChars = ('A'..'Z') + ('a'..'z') + ('0'..'9') + "#!$%=?-_.,@µ*:;+~".toList()
JetpackDuba commented 1 year ago

Thanks!