- Rename package from
pgcrypto_fields
topgcrypto
.
- Make
get_placeholder
accepts a new argumentcompiler
- Fix buggy import to
Aggregate
Note: these changes have been done for django > 1.8.0.
- Remove
MaxLengthValidator
from email fields.
- Avoid setting
max_length
on PGP fields.
- Allow/check
NULL
values for:TextDigestField
;TextHMACField
;EmailPGPPublicKeyField
;IntegerPGPPublicKeyField
;TextPGPPublicKeyField
;EmailPGPSymmetricKeyField
.IntegerPGPSymmetricKeyField
.TextPGPSymmetricKeyField
.
- Fix
cast
ing bug when sending negative values to integer fields.
- Add
EmailPGPPublicKeyField
andEmailPGPSymmetricKeyField
.
- Rename the following fields:
PGPPublicKeyField
toTextPGPPublicKeyField
;PGPSymmetricKeyField
toTextPGPSymmetricKeyField
;DigestField
toTextDigestField
;HMACField
toTextHMACField
. - Add new integer fields:
IntegerPGPPublicKeyField
;IntegerPGPSymmetricKeyField
.
- Make accessing decrypted value transparent. Fix bug when field had a string
representation of
memoryview
for PGP and keyed hash fields.
- Fix
EncryptedProxyField
to select the correct item.
- Access
PGPPublicKeyField
andPGPSymmetricKeySQL
decrypted values with field's proxy_decrypted
. - Remove descriptor for field's name and raw value.
- Add hash based lookup for
DigestField
andHMACField
. - Add
DigestField
,HMACField
,PGPPublicKeyAggregate
,PGPSymmetricKeyAggregate
.
- Add decryption through an aggregate class.
- Add encryption when inserting data to the database.