Re: Matching pgp_sym_encrypt() and gpg2 output

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Matching pgp_sym_encrypt() and gpg2 output
Date: 2019-08-27 18:05:28
Message-ID: CAMkU=1xdDPi2cMoQuJ=Ln=1reF5orHRNQ7MgNZ68bTBQnfCxTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Aug 27, 2019 at 1:33 PM Bruce Momjian <bruce(at)momjian(dot)us> wrote:

> I am trying to generate output from the command-line program gpg2 that
> matches the output of pgp_sym_encrypt(). gpg2 outputs:
>
> $ echo 'my access password' | tr -d '\n' | gpg2 --symmetric --batch
> > --cipher-algo AES256 --passphrase 'abc' | xxd -p | tr -d '\n'
>

I don't even get the same output on repeated execution of this same
command, so I think you are pursuing a lost cause.

Cheers,

Jeff

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2019-08-27 18:35:19 Re: Matching pgp_sym_encrypt() and gpg2 output
Previous Message Jerry Sievers 2019-08-27 17:56:35 No warning/error trying to vacuum other session's temp table