Skip to content

Config issue with parsec provider #68

@jainvikas8

Description

@jainvikas8

When following instructions on Debian (Unbuntu 22 LTS on a docker container)
https://github.com/parallaxsecond/parsec-openssl-provider?tab=readme-ov-file#configuring-the-provider
We see the issue of the provider not being configured correctly.

 $ openssl list -providers
Providers:
  default
    name: OpenSSL Default Provider
    version: 3.0.2
    status: active

but

$ openssl list -providers -provider-path /tmp/parsec-openssl-provider-shared/target/debug  -provider libparsec_openssl_provider_shared
[INFO  parsec_service::front::front_end] New request received without authentication
                                                                                    [INFO  parsec_service::front::front_end] Response sent back from request without authentication
                          [INFO  parsec_service::front::front_end] New request received without authentication
                                                                                                              [INFO  parsec_service::front::front_end] Response sent back from request without authentication
                                                    Providers:
  libparsec_openssl_provider_shared
    name: Parsec OpenSSL Provider
    version: 0.1.0
    status: active

works!!

If

[openssl_init]
providers = provider_sect

[provider_sect]
default = default_sect
parsec = parsec_sect

[parsec_sect]
module = /path-to-shared-library/libparsec_openssl_provider_shared.so
activate = 1

[default_sect]
activate = 1

are saved to openssl.cnf file and we configure OPENSSL_CONF=/tmp/openssl.cnf then it works....

It seems some config is missing or clarity in instructions would be good.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions