postgresql/src/include/catalog
Heikki Linnakangas 68e61ee72e Change the on-disk format of SCRAM verifiers to conform to RFC 5803.
It doesn't make any immediate difference to PostgreSQL, but might as well
follow the standard, since one exists. (I looked at RFC 5803 earlier, but
didn't fully understand it back then.)

The new format uses Base64 instead of hex to encode StoredKey and
ServerKey, which makes the verifiers slightly smaller. Using the same
encoding for the salt and the keys also means that you only need one
encoder/decoder instead of two. Although we have code in the backend to
do both, we are talking about teaching libpq how to create SCRAM verifiers
for PQencodePassword(), and libpq doesn't currently have any code for hex
encoding.

Bump catversion, because this renders any existing SCRAM verifiers in
pg_authid invalid.

Discussion: https://www.postgresql.org/message-id/351ba574-85ea-d9b8-9689-8c928dd0955d@iki.fi
2017-04-21 22:51:57 +03:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
binary_upgrade.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
catalog.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
catversion.h Change the on-disk format of SCRAM verifiers to conform to RFC 5803. 2017-04-21 22:51:57 +03:00
dependency.h Identity columns 2017-04-06 08:41:37 -04:00
duplicate_oids pgindent run for 9.4 2014-05-06 12:12:18 -04:00
genbki.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
heap.h Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
index.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
indexing.h Rename columns in new pg_statistic_ext catalog 2017-04-17 18:34:29 -03:00
namespace.h Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
objectaccess.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
objectaddress.h Remove objname/objargs split for referring to objects 2017-03-06 13:31:47 -05:00
opfam_internal.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
partition.h Improve error reporting for tuple-routing failures. 2017-03-03 09:09:52 +05:30
pg_aggregate.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_am.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_amop.h Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
pg_amproc.h Implement SortSupport for macaddr data type 2017-03-29 23:28:56 +03:00
pg_attrdef.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_attribute.h Identity columns 2017-04-06 08:41:37 -04:00
pg_auth_members.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_authid.h Default monitoring roles 2017-03-30 14:18:53 -04:00
pg_cast.h Collect and use multi-column dependency stats 2017-04-05 18:00:42 -04:00
pg_class.h Identity columns 2017-04-06 08:41:37 -04:00
pg_collation.h ICU support 2017-03-23 15:28:48 -04:00
pg_collation_fn.h ICU support 2017-03-23 15:28:48 -04:00
pg_constraint.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_constraint_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_control.h Support SCRAM-SHA-256 authentication (RFC 5802 and 7677). 2017-03-07 14:25:40 +02:00
pg_conversion.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_conversion_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_database.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_db_role_setting.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_default_acl.h Altering default privileges on schemas 2017-03-28 18:58:55 +03:00
pg_depend.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_description.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_enum.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_event_trigger.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_extension.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_foreign_data_wrapper.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_foreign_server.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_foreign_table.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_index.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_inherits.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_inherits_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_init_privs.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_language.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_largeobject.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_largeobject_metadata.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_namespace.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_opclass.h Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
pg_operator.h Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
pg_operator_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_opfamily.h Add support for EUI-64 MAC addresses as macaddr8 2017-03-15 11:16:25 -04:00
pg_partitioned_table.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_pltemplate.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_policy.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_proc.h Move isolationtester's is-blocked query into C code for speed. 2017-04-10 10:26:54 -04:00
pg_proc_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_publication.h Update copyright years in some recently added files 2017-01-25 12:32:05 -05:00
pg_publication_rel.h Update copyright years in some recently added files 2017-01-25 12:32:05 -05:00
pg_range.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_replication_origin.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_rewrite.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_seclabel.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_sequence.h Add CREATE SEQUENCE AS <data type> clause 2017-02-10 15:34:35 -05:00
pg_shdepend.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_shdescription.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_shseclabel.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_statistic.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_statistic_ext.h Rename columns in new pg_statistic_ext catalog 2017-04-17 18:34:29 -03:00
pg_subscription.h Mark some columns in pg_subscription as NOT NULL. 2017-04-20 23:35:30 +09:00
pg_subscription_rel.h Update copyright year in recently added files 2017-03-29 14:54:10 -04:00
pg_tablespace.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_transform.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_trigger.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_ts_config.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_ts_config_map.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_ts_dict.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_ts_parser.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_ts_template.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_type.h Collect and use multi-column dependency stats 2017-04-05 18:00:42 -04:00
pg_type_fn.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
pg_user_mapping.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage_xlog.h Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
toasting.h Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
unused_oids Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00