https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32011

--- Comment #14 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
Doing some debugging now with:

use Modern::Perl;
use Convert::Base32;
use GD::Barcode;
use Koha::AuthUtils;
my $duplicate_secret = 4;
foreach( 1.. 50) {
    my $secret = Koha::AuthUtils::generate_salt( 'weak', 16 );
    $secret = $secret x $duplicate_secret;
    my $otpauth = encode_base32($secret);
    print "$otpauth\n";
    GD::Barcode->new( 'QRcode', $otpauth, { Ecc => 'M', Version => 10,
ModuleSize => 4 } );
}

The problem is the length of the secret. I think that you have a very long
secret?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to