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.1.0.tar.gz (17.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: locknotey-0.1.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.9

File hashes

Hashes for locknotey-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eb0498f78c2783777f86fd84fe82b8fd18a35ca264604cecfc15770a0aff3820
MD5 e38e2983f3b4a16ce47a169b144125a8
BLAKE2b-256 9be321c78d24dc75715b0662441c7f00e73097afb87e109ca6e80fe71a251d16

See more details on using hashes here.

Supported by

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