2024-11-17 21:41:47.251 UTC postmaster[38821] LOG: starting PostgreSQL 18devel on x86_64-linux, compiled by gcc-12.2.0, 64-bit 2024-11-17 21:41:47.251 UTC postmaster[38821] LOG: listening on Unix socket "/tmp/pg_regress-xh51Kj/.s.PGSQL.40031" 2024-11-17 21:41:47.254 UTC startup[38824] LOG: database system was shut down at 2024-11-17 21:32:34 UTC 2024-11-17 21:41:47.257 UTC postmaster[38821] LOG: database system is ready to accept connections 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init ERROR: gen_salt: Unknown salt algorithm 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init STATEMENT: select gen_salt('foo'); 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init ERROR: Cannot use "foo": No such hash algorithm 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init STATEMENT: select digest('foo', 'foo'); 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init ERROR: Cannot use "foo": No such hash algorithm 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init STATEMENT: select hmac('foo', 'foo', 'foo'); 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init ERROR: Cannot use "foo": No such cipher algorithm 2024-11-17 21:41:47.423 UTC client backend[38833] pg_regress/init STATEMENT: select encrypt('foo', 'foo', 'foo'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x0000000000000000', '\x0000000000000000', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\xffffffffffffffff', '\xffffffffffffffff', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x1000000000000001', '\x3000000000000000', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x1111111111111111', '\x1111111111111111', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x0123456789abcdef', '\xfedcba9876543210', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x01a1d6d039776742', '\xfedcba9876543210', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\xffffffffffffffff', '\x0000000000000000', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.504 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\xfedcba9876543210', '\xf0e1d2c3b4a5968778695a4b3c2d1e0f', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x01234567890123456789', '\x33443344334433443344334433443344', 'bf-ecb'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Key was too big 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x6b77b4d63006dee605b156e27403979358deb9e7154616d959f1652bd5', '\x37363534333231204e6f77206973207468652074696d6520666f7220', 'bf-cbc'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Key was too big 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\x6b77b4d63006dee605b156e27403979358deb9e7154616d959f1652bd5ff92cc', '\x37363534333231204e6f77206973207468652074696d6520666f722000', 'bf-cbc'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Key was too big 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: SELECT encrypt('\xfedcba9876543210', '\xf0e1d2c3b4a5968778695a4b3c2d1e0f001122334455667704689104c2fd3b2f584023641aba61761f1f1f1f0e0e0e0effffffffffffffff', 'bf-ecb/pad:none'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encrypt('', 'foo', 'bf'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encrypt('foo', '0123456789', 'bf'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Key was too big 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encrypt('foo', '0123456789012345678901', 'bf'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encode(decrypt(encrypt('foo', '0123456', 'bf'), '0123456', 'bf'), 'escape'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encrypt_iv('foo', '0123456', 'abcd', 'bf'); 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish ERROR: decrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.505 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encode(decrypt_iv('\x95c7e89322525d59', '0123456', 'abcd', 'bf'), 'escape'); 2024-11-17 21:41:47.506 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.506 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encrypt('Lets try a longer message.', '0123456789', 'bf'); 2024-11-17 21:41:47.506 UTC client backend[38853] pg_regress/blowfish ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.506 UTC client backend[38853] pg_regress/blowfish STATEMENT: select encode(decrypt(encrypt('Lets try a longer message.', '0123456789', 'bf'), '0123456789', 'bf'), 'escape'); 2024-11-17 21:41:47.523 UTC client backend[38859] pg_regress/rijndael ERROR: encrypt error: Encryption failed 2024-11-17 21:41:47.523 UTC client backend[38859] pg_regress/rijndael STATEMENT: SELECT encrypt( '\x00112233445566778899aabbccddeeff00', '\x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f', 'aes-cbc/pad:none'); 2024-11-17 21:41:47.525 UTC client backend[38859] pg_regress/rijndael ERROR: decrypt error: Decryption failed 2024-11-17 21:41:47.525 UTC client backend[38859] pg_regress/rijndael STATEMENT: select encode(decrypt(encrypt('foo', '0123456', 'aes') || '\x00'::bytea, '0123456', 'aes'), 'escape'); 2024-11-17 21:41:47.525 UTC client backend[38859] pg_regress/rijndael ERROR: decrypt_iv error: Decryption failed 2024-11-17 21:41:47.525 UTC client backend[38859] pg_regress/rijndael STATEMENT: select encode(decrypt_iv('\xa21a9c15231465964e3396d32095e67eb52bab05f556a581621dee1b85385789', '0123456', 'abcd', 'aes'), 'escape'); 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des STATEMENT: SELECT encrypt('\x0123456789abcdef', '\xfedcba9876543210', 'des-ecb/pad:none'); 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des STATEMENT: select encrypt('', 'foo', 'des'); 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.558 UTC client backend[38867] pg_regress/des STATEMENT: select encrypt('foo', '01234589', 'des'); 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des STATEMENT: select encode(decrypt(encrypt('foo', '0123456', 'des'), '0123456', 'des'), 'escape'); 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des ERROR: encrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des STATEMENT: select encrypt_iv('foo', '0123456', 'abcd', 'des'); 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des ERROR: decrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des STATEMENT: select encode(decrypt_iv('\x50735067b073bb93', '0123456', 'abcd', 'des'), 'escape'); 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des STATEMENT: select encrypt('Lets try a longer message.', '01234567', 'des'); 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.559 UTC client backend[38867] pg_regress/des STATEMENT: select encode(decrypt(encrypt('Lets try a longer message.', '01234567', 'des'), '01234567', 'des'), 'escape'); 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 STATEMENT: SELECT encrypt('\x0123456789ABCDEF', '\x0123456712345678234567893456789A', 'cast5-ecb/pad:none'); 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 STATEMENT: SELECT encrypt('\x0123456789ABCDEF', '\x01234567123456782345', 'cast5-ecb/pad:none'); 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 STATEMENT: SELECT encrypt('\x0123456789ABCDEF', '\x0123456712', 'cast5-ecb/pad:none'); 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encrypt('', 'foo', 'cast5'); 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.592 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encrypt('foo', '0123456789', 'cast5'); 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encode(decrypt(encrypt('foo', '0123456', 'cast5'), '0123456', 'cast5'), 'escape'); 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encrypt_iv('foo', '0123456', 'abcd', 'cast5'); 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 ERROR: decrypt_iv error: Cipher cannot be initialized 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encode(decrypt_iv('\x384a970695ce016a', '0123456', 'abcd', 'cast5'), 'escape'); 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encrypt('Lets try a longer message.', '0123456789', 'cast5'); 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 ERROR: encrypt error: Cipher cannot be initialized 2024-11-17 21:41:47.593 UTC client backend[38877] pg_regress/cast5 STATEMENT: select encode(decrypt(encrypt('Lets try a longer message.', '0123456789', 'cast5'), '0123456789', 'cast5'), 'escape'); 2024-11-17 21:41:47.611 UTC client backend[38883] pg_regress/crypt-des ERROR: invalid salt 2024-11-17 21:41:47.611 UTC client backend[38883] pg_regress/crypt-des STATEMENT: SELECT crypt('password', 'a'); 2024-11-17 21:41:47.664 UTC client backend[38891] pg_regress/crypt-blowfish ERROR: invalid salt 2024-11-17 21:41:47.664 UTC client backend[38891] pg_regress/crypt-blowfish STATEMENT: SELECT crypt('foox', '$2a$'); 2024-11-17 21:41:47.665 UTC client backend[38891] pg_regress/crypt-blowfish ERROR: invalid salt 2024-11-17 21:41:47.665 UTC client backend[38891] pg_regress/crypt-blowfish STATEMENT: SELECT crypt('foox', '$2a$40$RQiOJ.3ELirrXwxIZY8q0O'); 2024-11-17 21:41:47.665 UTC client backend[38891] pg_regress/crypt-blowfish ERROR: invalid salt 2024-11-17 21:41:47.665 UTC client backend[38891] pg_regress/crypt-blowfish STATEMENT: SELECT crypt('foox', '$2a$00$RQiOJ.3ELirrXwxIZY8q0O'); 2024-11-17 21:41:47.719 UTC client backend[38895] pg_regress/crypt-xdes ERROR: invalid salt 2024-11-17 21:41:47.719 UTC client backend[38895] pg_regress/crypt-xdes STATEMENT: SELECT crypt('foox', '_J9..BWH'); 2024-11-17 21:41:47.719 UTC client backend[38895] pg_regress/crypt-xdes ERROR: crypt(3) returned NULL 2024-11-17 21:41:47.719 UTC client backend[38895] pg_regress/crypt-xdes STATEMENT: SELECT crypt('password', '_........'); 2024-11-17 21:41:47.720 UTC client backend[38895] pg_regress/crypt-xdes ERROR: crypt(3) returned NULL 2024-11-17 21:41:47.720 UTC client backend[38895] pg_regress/crypt-xdes STATEMENT: SELECT crypt('password', '_..!!!!!!'); 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor ERROR: Corrupt ascii-armor 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select dearmor(' -----BEGIN PGP MESSAGE----- em9va2E= =ZZZZ -----END PGP MESSAGE----- '); 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor ERROR: Corrupt ascii-armor 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select * from pgp_armor_headers(' -----BEGIN PGP MESSAGE----- foo: em9va2E= =ZZZZ -----END PGP MESSAGE----- '); 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor ERROR: Corrupt ascii-armor 2024-11-17 21:41:47.742 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select * from pgp_armor_headers(' -----BEGIN PGP MESSAGE----- em9va2E= =ZZZZ -----END PGP MESSAGE----- '); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: mismatched array dimensions 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['foo'], array['too', 'many']); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: mismatched array dimensions 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['too', 'many'], array['foo']); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: wrong number of array subscripts 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array[['']], array['foo']); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: wrong number of array subscripts 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['foo'], array[['']]); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: null value not allowed for header key 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array[null], array['foo']); 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor ERROR: null value not allowed for header value 2024-11-17 21:41:47.745 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['foo'], array[null]); 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor ERROR: header key must not contain newlines 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array[E'embedded\nnewline'], array['foo']); 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor ERROR: header value must not contain newlines 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['foo'], array[E'embedded\nnewline']); 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor ERROR: header key must not contain ": " 2024-11-17 21:41:47.746 UTC client backend[38899] pg_regress/pgp-armor STATEMENT: select armor('', array['embedded: colon+space'], array['foo']); 2024-11-17 21:41:47.762 UTC client backend[38903] pg_regress/pgp-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:47.762 UTC client backend[38903] pg_regress/pgp-decrypt STATEMENT: select pgp_sym_decrypt(dearmor(' -----BEGIN PGP MESSAGE----- Comment: dat1.blowfish.sha1.mdc.s2k3.z0 jA0EBAMCfFNwxnvodX9g0jwB4n4s26/g5VmKzVab1bX1SmwY7gvgvlWdF3jKisvS yA6Ce1QTMK3KdL2MPfamsTUSAML8huCJMwYQFfE= =JcP+ -----END PGP MESSAGE----- '), 'foobar'); 2024-11-17 21:41:47.772 UTC client backend[38903] pg_regress/pgp-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:47.772 UTC client backend[38903] pg_regress/pgp-decrypt STATEMENT: select pgp_sym_decrypt(dearmor(' -----BEGIN PGP MESSAGE----- ww0EBwMCxf8PTrQBmJdl0jcB6y2joE7GSLKRv7trbNsF5Z8ou5NISLUg31llVH/S0B2wl4bvzZjV VsxxqLSPzNLAeIspJk5G =mSd/ -----END PGP MESSAGE----- '), 'wrong-key', 'debug=1'); 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt ERROR: Not text data 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt STATEMENT: select pgp_sym_decrypt(pgp_sym_encrypt_bytea('P', 'key'), 'key', 'debug=1'); 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt STATEMENT: select pgp_sym_decrypt(dearmor(' -----BEGIN PGP MESSAGE----- ww0EBwMC9rK/dMkF5Zlt0jcBlzAQ1mQY2qYbKYbw8h3EZ5Jk0K2IiY92R82TRhWzBIF/8cmXDPtP GXsd65oYJZp3Khz0qfyn =Nmpq -----END PGP MESSAGE----- '), 'wrong-key', 'debug=1'); 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt ERROR: Unsupported compression algorithm 2024-11-17 21:41:47.773 UTC client backend[38903] pg_regress/pgp-decrypt STATEMENT: select pgp_sym_decrypt(dearmor(' -----BEGIN PGP MESSAGE----- jA0EBwMCRhFrAKNcLVJg0mMBLJG1cCASNk/x/3dt1zJ+2eo7jHfjgg3N6wpB3XIe QCwkWJwlBG5pzbO5gu7xuPQN+TbPJ7aQ2sLx3bAHhtYb0i3vV9RO10Gw++yUyd4R UCAAw2JRIISttRHMfDpDuZJpvYo= =AZ9M -----END PGP MESSAGE----- '), 'key', 'debug=1'); 2024-11-17 21:41:47.795 UTC client backend[38909] pg_regress/pgp-encrypt ERROR: Not text data 2024-11-17 21:41:47.795 UTC client backend[38909] pg_regress/pgp-encrypt STATEMENT: select pgp_sym_decrypt(pgp_sym_encrypt_bytea('Binary', 'baz'), 'baz'); 2024-11-17 21:41:48.119 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:48.119 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=2 and encdata.id=2; 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Wrong key 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=2 and encdata.id=1; 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: No encryption key found 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=4 and encdata.id=1; 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:48.125 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey), '123') from keytbl, encdata where keytbl.id=7 and encdata.id=4; 2024-11-17 21:41:48.128 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Need password for secret key 2024-11-17 21:41:48.128 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=5 and encdata.id=1; 2024-11-17 21:41:48.129 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:48.129 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey), 'foo') from keytbl, encdata where keytbl.id=5 and encdata.id=1; 2024-11-17 21:41:48.132 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt ERROR: Wrong key or corrupt data 2024-11-17 21:41:48.132 UTC client backend[38917] pg_regress/pgp-pubkey-decrypt STATEMENT: select pgp_pub_decrypt(dearmor(data), dearmor(seckey)) from keytbl, encdata where keytbl.id=6 and encdata.id=5; 2024-11-17 21:41:48.163 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt ERROR: No encryption key found 2024-11-17 21:41:48.163 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt STATEMENT: select pgp_pub_decrypt( pgp_pub_encrypt('Secret msg', dearmor(pubkey)), dearmor(seckey)) from keytbl where keytbl.id=4; 2024-11-17 21:41:48.163 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt ERROR: Refusing to encrypt with secret key 2024-11-17 21:41:48.163 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt STATEMENT: select pgp_pub_decrypt( pgp_pub_encrypt('Secret msg', dearmor(seckey)), dearmor(seckey)) from keytbl where keytbl.id=1; 2024-11-17 21:41:48.165 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt ERROR: Not text data 2024-11-17 21:41:48.165 UTC client backend[38923] pg_regress/pgp-pubkey-encrypt STATEMENT: select pgp_pub_decrypt( pgp_pub_encrypt_bytea('Secret msg', dearmor(pubkey)), dearmor(seckey)) from keytbl where keytbl.id=1; 2024-11-17 21:41:48.183 UTC client backend[38927] pg_regress/pgp-info ERROR: No encryption key found 2024-11-17 21:41:48.183 UTC client backend[38927] pg_regress/pgp-info STATEMENT: select pgp_key_id(dearmor(pubkey)) from keytbl where id=4; 2024-11-17 21:41:48.184 UTC client backend[38927] pg_regress/pgp-info ERROR: No encryption key found 2024-11-17 21:41:48.184 UTC client backend[38927] pg_regress/pgp-info STATEMENT: select pgp_key_id(dearmor(seckey)) from keytbl where id=4; 2024-11-17 21:41:48.224 UTC postmaster[38821] LOG: received fast shutdown request 2024-11-17 21:41:48.224 UTC postmaster[38821] LOG: aborting any active transactions TRAP: failed Assert("(remainMask.mask | targetMask.mask) == BTYPE_MASK_ALL.mask"), File: "../src/backend/postmaster/postmaster.c", Line: 2887, PID: 38821 postgres(ExceptionalCondition+0x56)[0x5623ed40c13d] postgres(+0xeb1cd8)[0x5623ed028cd8] postgres(+0xeb222e)[0x5623ed02922e] postgres(+0xeb30f0)[0x5623ed02a0f0] postgres(PostmasterMain+0x13f2)[0x5623ed02bb5f] postgres(main+0x2c1)[0x5623ece63b85] /lib/x86_64-linux-gnu/libc.so.6(+0x2724a)[0x7ffae384624a] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85)[0x7ffae3846305] postgres(_start+0x21)[0x5623eca13151]