Skip to content

Securely store credentials in a TOM #1106

@jchate6

Description

@jchate6

Left to do:

Testing

  • Write tests for EncryptedBinaryField model class (in tom_eso, for now)
  • Write tests for UserSession creation/deletion upon log in/out
  • test create_cipher_encryption_key [1]
  • test key saving and retrieval from session store
  • test signal handler: create_user_session_on_login
  • test signal handler: delete_user_session_on_logout
  • test signal handler: set_cipher_on_login
  • test signal handler: clear_encryption_key_on_logout
  • test signal handler: user_updated
  • test password changed determination mechanism
  • test reencrypt_sensitive_data
  • test

Refactoring (after tests are written)

Documentation

  • update internal documentation with strategy that actually worked

Notes:

  1. bytes vs. str; write test as an example of usage

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions