Skip to content

Commit 679d63e

Browse files
committed
pod fix
1 parent 99f5bbe commit 679d63e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Session/Token.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Programs that re-use a generator are more likely to be portable to C<chroot>ed e
161161
162162
On the other hand, re-using a generator may be undesirable because servers are typically started immediately after a system reboot and the kernel's randomness pool might be poorly seeded at that point. Similarly, when starting a virtual machine a previously used entropy pool state may be restored. In these cases all subsequently generated tokens will be derived from a weak/predictable seed. For this reason, you might choose to defer creating the generator until the first request actually comes in, periodically re-create the generator object, and/or manually handle seeding in some other way.
163163
164-
Programs that assume opening C</dev/urandom> will always succeed can return session tokens based only on the contents of nulled or uninitialised memory. This is not the case with Session::Token since its constructor will always throw an exception if it can't seed itself. Some modern systems provide system calls with fewer failure modes (ie `getentropy(2)` on OpenBSD and `getrandom(2)` on linux). Future versions of Session::Token will likely use these system calls when available.
164+
Programs that assume opening C</dev/urandom> will always succeed can return session tokens based only on the contents of nulled or uninitialised memory. This is not the case with Session::Token since its constructor will always throw an exception if it can't seed itself. Some modern systems provide system calls with fewer failure modes (ie C<getentropy(2)> on OpenBSD and C<getrandom(2)> on linux). Future versions of Session::Token will likely use these system calls when available.
165165
166166
167167
=head1 CUSTOM ALPHABETS

0 commit comments

Comments
 (0)