Comments (1)
See https://github.com/dcwatson/django-pgcrypto/blob/master/pgcrypto/base.py#L32 and https://tools.ietf.org/html/rfc4880#section-6.6
It simply adds a version header in the armored PGP text that looks like:
-----BEGIN PGP MESSAGE-----
Version: django-pgcrypto 2.0.0
...
-----END PGP MESSAGE-----
In practice, this doesn't affect much, but you can turn it off in case you want to save the bytes, or happen to be doing any operations on the armored text itself where having a version number could cause problems.
from django-pgcrypto.
Related Issues (20)
- ValueError: level must be >= 0 HOT 1
- Django 1.7, having trouble filtering on encrypted fields HOT 7
- Django 1.7 makemigrations fails: AttributeError: 'bytes' object has no attribute 'encode'
- unique=True and null=True HOT 5
- Deconstruct includes the key - this results in a new migration when the key is changed HOT 1
- Lookup on EncryptedCharField in shell fails on postgresql
- AES issues on Python 3 HOT 2
- Release pgcrypto 1.3 on pypi? HOT 1
- Django 1.10 compatability HOT 4
- Different cipher key depending of request HOT 2
- ..
- Empty Encrypted Fields Cause Errors HOT 1
- Update for Django (and Python) 3, drop PyCrypto HOT 4
- error message: function dearmor(text) does not exist\nLINE 1: ..._on\" FROM \"users_user\" WHERE convert_from(decrypt(dearmor(\"u HOT 2
- django.db.utils.InternalError: Corrupt ascii-armor Error On lookup field
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 1: invalid start byte HOT 6
- Empty string in DB crashes the lib
- Blowfish has been deprecated.
- __in filtering broken? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-pgcrypto.