Picture-Lock

Lock a directory, a file or bytes with pictures and a handful of clicks.

Picture::Lock locks a directory into a single file whose key is an image and
an ordered set of clicks on it, and turns the same image and clicks into a
stored password a web application can check a login against. The piclock
command does the same from a shell, and shows the picture in the terminal to
be clicked on.

What is locked may also be one file, or bytes that never touch a disk. What
opens it may be up to eight pictures in an order, each with clicks of its
own. And the pictures may be put inside the locked file, which then opens
with clicks alone, and whose pictures anyone who has the file can then see.

It links no library. The compression is in this distribution, the hashing,
key derivation and encryption are those of Crypt::Symmetric::Primitives, and
the PNG, JPEG, GIF, BMP and WebP pictures it shows are drawn by Image::Pixels.
It needs those two and Ex::Op to run, and ExtUtils::Depends to build. Should
Image::Pixels go missing afterwards it still locks and unlocks, and the
picker says that it cannot show a picture.


INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

A C compiler is needed. `make ctest` builds and runs the engine with no perl,
beside the sources of Crypt::Symmetric::Primitives and of Image::Pixels, and
says what to set to point it at them.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Picture::Lock
    perldoc piclock

You can also look for information at:

    RT, CPAN's request tracker (report bugs here)
        https://rt.cpan.org/NoAuth/Bugs.html?Dist=Picture-Lock

    Search CPAN
        https://metacpan.org/release/Picture-Lock


LICENSE AND COPYRIGHT

This software is Copyright (c) 2026 by LNATION <email@lnation.org>.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

