zeruniverse / Password-Manager

An online keepass-like tool to manage password. client-side AES encryption!
Other
170 stars 44 forks source link

Increase `ip` length for IPv6 support #266

Closed Frosty-J closed 2 years ago

Frosty-J commented 2 years ago

When logging in from an IPv6 address, it dies from Data too long for column 'ip'. Increasing this length to 39 is enough for it to fit an address like 0123:4567:89ab:cdef:0123:4567:89ab:cdef.

To test, both your home network and server must support IPv6, and an appropriate AAAA DNS record set up.

I'm unsure if the one in blockip needs to be increased any further, as I couldn't get Password Manager to try and write to it.