Encoding protection for pgcrypto - Mailing list pgsql-hackers

From shihao zhong
Subject Encoding protection for pgcrypto
Date
Msg-id CAGRkXqRZyo0gLxPJqUsDqtWYBbgM14betsHiLRPj9mo2=z9VvA@mail.gmail.com
Whole thread Raw
Responses Re: Encoding protection for pgcrypto
List pgsql-hackers
Hi hackers,

Currently, pgp_sym_decrypt_text and pgp_pub_decrypt_text doesn't
enforce database encoding validation even when returning text. This
patch adds validation and dedicated  tests to verify its
effectiveness. Additionally, some existing unit tests were moved to
the new tests as they failed in some encoding.

Thanks,
SHihao

Attachment

pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Small fix on COPY ON_ERROR document
Next
From: Richard Guo
Date:
Subject: Re: Reordering DISTINCT keys to match input path's pathkeys