]> git.proxmox.com Git - pve-access-control.git/blame - src/oathkeygen
buildsys: split packaging and source build-systems
[pve-access-control.git] / src / oathkeygen
CommitLineData
1abc2c0a
DM
1#!/usr/bin/perl
2
3use strict;
4use warnings;
03e2a71e 5use MIME::Base32; #libmime-base32-perl
1abc2c0a
DM
6
7my $test;
8open(RND, "/dev/urandom");
b89cd205 9sysread(RND, $test, 10) == 10 || die "read random data failed\n";
03e2a71e 10print MIME::Base32::encode_rfc3548($test) . "\n";
1abc2c0a 11