Skip to content

Values of hash_keys are visible in migrations

In migrations I see something like the following. Is it possible to fix this? Any ideas are welcome.

migrations.AlterField(
  model_name='foo',
  name='bar',
  field=encrypted_fields.fields.SearchField(
    blank=True,
    db_index=True,
    encrypted_field_name='_bar',
    hash_key='not_secure!',
    max_length=256, 
    null=True,
    unique=True),
),
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information