paolostivanin / OTPClient

Highly secure and easy to use OTP client written in C/GTK3 that supports both TOTP and HOTP
GNU General Public License v3.0
458 stars 47 forks source link

Remove extraneous NULs after newlines in exported FreeOTP files #345

Closed hubnut closed 4 months ago

hubnut commented 4 months ago

Changes to FreeOTP export code in b6fb69c3b713 caused NULs to be written in the exported file after every newline, which is inconsistent with the format of files produced by prior versions of OTPClient and by FreeOTP+ (version 3.1) itself.

This patch removes the NULs.

paolostivanin commented 4 months ago

Thanks!