Skip to main content

Produces a package of information for dependents and partners to be opened upon death.

Project description

PostMortem: Generates Packets of Useful Information for Partners and Dependents to be Opened Upon Death

Version: 0.0.0
Released: 2019-01-03

PostMortem works with Avendesora to produce packets of information for partners and dependents to help them carry on after your death. Primarily PostMortem queries Avendesora to produce an encrypted document that contains information about all of your essential accounts including security credentials such as usernames and passcodes. It also can include related pre-prepared documents such as the legal documents that establish and control your estate plan.

Your partners and dependents do not need PostMortem to access their documents, however they must be capable of using GPG and have a GPG encryption key.

Please report all bugs and suggestions to postmortem@nurdletech.com

Getting Started

You download and install PostMortem with:

git clone https://github.com/KenKundert/postmortem.git
pip3 install --user postmortem

Once installed, you will need a configuration file. The file is: ~/.config/postmortem/config and should contain the following fields.

my_gpg_ids:

A string that contains an identifier for your GPG key. This could be your email address or a GPG ID. The output files will be encrypted with this key as well as the keys of the intended recipients.

name_template:

A python format string that specifies how the packet directory should be named. It can include two named parameters, name and now. name is the name of a recipient and now is and Arrow time object.

recipients:

A dictionary of dictionary that contains preferences for each of the recipients.

Here is an example config file:

my_gpg_ids = 'odin@norse-gods.com'
name_template = '{name}-{now:YYMMDD}'

recipients = dict(
    frigg = dict(
        email = 'frigg@norse-gods.com',
        category = 'wife',
        extras = [
            '~/home/finances/estate
        ],
        networth = True,
    ),
    thor = dict(
        email = 'thor@norse-gods.com',
        category = 'kids',
        extras = [
            '~/home/finances/estate
        ],
    ),
    loki = dict(
        email = 'loki@norse-gods.com',
        category = 'kids',
        extras = [
            '~/home/finances/estate
        ],
    ),
)

An encrypted file is created for each recipient. Each recipient should have an email or gpg_id that is associated with a known GPG key. Each recipient should all have a category. Your Avendesora accounts will be searched for a field named postmortem_recipients, which is a string or list. The account is included in the packet if the recipients category is contained in postmortem_recipients. extras is a list of files or directories that are also included in the packet. Finally, if networth is specified and is True, then a networth summary is also included. networth may also be a profile name for the networth command, in which case that profile is used. The networth command is available from Cryptocurrency.

Running PostMortem

You can generate a packet for a particular recipient using:

postmortem thor

This creates the encrypted file that contains the packet. The packet can be extracted with:

gpg -d thor-190101.tgz.gpg > thor-190101.tgz
tar xf thor-190101.tgz

You can have PostMortem send the packet directly using email if email is given in the configuration file using:

postmortem -s thor

Finally, if you do not specify a recipient, packets are created for all known recipients.

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

postmortem-0.0.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

postmortem-0.0.0-py2-none-any.whl (8.1 kB view details)

Uploaded Python 2

File details

Details for the file postmortem-0.0.0.tar.gz.

File metadata

  • Download URL: postmortem-0.0.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for postmortem-0.0.0.tar.gz
Algorithm Hash digest
SHA256 4fc489eeb18049c43e8a68ecac5c7c0583ef3eac126a4dfd1db3759dc3cfe09c
MD5 8432532a7cada40fc9fc87a9e40ba95d
BLAKE2b-256 bd0f798674da7d3f0b8e9aef46a1ed5b231360faf2c3ae0ae176c1e97e03c8ac

See more details on using hashes here.

File details

Details for the file postmortem-0.0.0-py2-none-any.whl.

File metadata

  • Download URL: postmortem-0.0.0-py2-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for postmortem-0.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6c670607db5d145cf2b2a973121e602aef04e992c3d11c00621a642a47a82eaa
MD5 0844bd18ee0accd8defd5918b0a2411b
BLAKE2b-256 40411beff6e74a0c5a010eea1bedb938e21d9ae5e2f492a7c1432d85cb777e92

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