Skip to main content

Simple script that stores encrypted data within itself and allows you to modify it using any editor.

Project description

locknotey

Simple script that stores encrypted data within itself and allows you to modify it using any editor.

Description

I was a long-time user of LockNote, but there was no native version of it when I switched to linux. This is my attempt to re-create that functionality in a Python script.

Installation

Install locknotey as follows:

pip install locknotey

Usage

Use locknotey as follows:

  1. Make a separate copy of the locknotey script file for anything you want to store securely using the command locknotey --new /path/to/my/note_file. For example, I store all my online account information in a copy called passwords. You can store this script file anywhere you like.
  2. Execute the new script file. (I assume you have Python and the requisite supporting modules since you installed this using pip.)
  3. A blank editor window should appear. The editor that's used is specified by your EDITOR environment variable. (You could also use the option -e "editor_cmd arg1 arg2..." to select another editor.)
  4. Put whatever you want into the editor, for example login names/passwords or names of criminal associates.
  5. Save and quit the editor. Then you will be asked for a password to encrypt the text after which the ciphertext will be stored within the script file.
  6. To see what you've stored, execute the script file again. You'll be asked for a password after which the encrypted text will be decrypted and displayed in an editor window. From there you can search and/or modify the text and store it back into the script file with the same or a new password.

If you have an existing locknotey file and want to update its code to the latest version while retaining the encrypted data, use the command locknotey -u /path/to/existing/note_file.

FAQ

Is it secure?

The file itself is as secure as the Python cryptography module will allow. Probably the weakest point is when the unencrypted text is being handled in the editor. Somebody who had access to your system might be able to get the clear text from the editor process. So don't use locknotey to store your nuclear launch codes.

Will it accidentally eat all my passwords?

It's alpha so it might. I still keep a copy of my passwords in another encrypted file. I'll trust it more once I've gotten to a higher release than 0.1.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

locknotey-0.2.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

locknotey-0.2.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file locknotey-0.2.0.tar.gz.

File metadata

  • Download URL: locknotey-0.2.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for locknotey-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b32d0458825b3242f39db2ab9fd9bde2b0843ae31ac8572492d49fcd5c1931cf
MD5 7d1a5fedce9ea7e45e614a6b23ab82e5
BLAKE2b-256 ae141ad559804137e4bcf7a7f8d61896defd07d533942e7c6ed2a78907b534bd

See more details on using hashes here.

File details

Details for the file locknotey-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: locknotey-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for locknotey-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 bd1f6af2644e50efa075a847a60250f7122a4f17facb74732af9d2cdfeabd785
MD5 d3f4467d508ed1ac87c0b4c8a7a82bd2
BLAKE2b-256 7aec7387f5c13b88bb52e7f2f0791b422f06160571e1bff13dd0b73324fd7b63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page