diff options
author | Richard Levitte <levitte@openssl.org> | 2020-08-02 12:14:19 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-08-24 10:02:25 +0200 |
commit | a517edec0385280e31e2dc2912301501e6b0c4a3 (patch) | |
tree | 78538835d6f1fcc93a7c1a637931bf1f1f23d127 /crypto/encode_decode/build.info | |
parent | 14c8a3d118e3ec5d0179d45c7f227d29a52f7697 (diff) |
CORE: Generalise internal pass phrase prompter
The pass phrase prompter that's part of OSSL_ENCODER and OSSL_DECODER
is really a passphrase callback bridge between the diverse forms of
prompters that exist within OpenSSL: pem_password_cb, ui_method and
OSSL_PASSPHRASE_CALLBACK.
This can be generalised, to be re-used by other parts of OpenSSL, and
to thereby allow the users to specify whatever form of pass phrase
callback they need, while being able to pass that on to other APIs
that are called internally, in the form that those APIs demand.
Additionally, we throw in the possibility to cache pass phrases during
a "session" (we leave it to each API to define what a "session" is).
This is useful for any API that implements discovery and therefore may
need to get the same password more than once, such as OSSL_DECODER and
OSSL_STORE.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12512)
Diffstat (limited to 'crypto/encode_decode/build.info')
-rw-r--r-- | crypto/encode_decode/build.info | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/encode_decode/build.info b/crypto/encode_decode/build.info index 4686c4a19d..e2cd846673 100644 --- a/crypto/encode_decode/build.info +++ b/crypto/encode_decode/build.info @@ -1,8 +1,5 @@ -SOURCE[../../libcrypto]=endecode_pass.c - SOURCE[../../libcrypto]=encoder_meth.c encoder_lib.c encoder_pkey.c -SOURCE[../../libcrypto]=decoder_meth.c decoder_lib.c \ - decoder_pkey.c +SOURCE[../../libcrypto]=decoder_meth.c decoder_lib.c decoder_pkey.c SOURCE[../../libcrypto]=encoder_err.c SOURCE[../../libcrypto]=decoder_err.c |