Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

cannot access Sodium.java functions from outside package #553

@ceyhunalp

Description

@ceyhunalp

Hello,

I am trying to use tuweni-crypto (2.3.1) in my project on Mac OS. I downloaded the project from Maven by adding the following in the pom.xml file:

<dependency>
  <groupId>org.apache.tuweni</groupId>
  <artifactId>tuweni-crypto</artifactId>
  <version>2.3.1</version>
</dependency>

When I try to call a function from the Sodium package (e.g., crypto_core_ed25519_scalar_reduce), I get the following error: 'crypto_core_ed25519_scalar_reduce(byte[], byte[])' is not public in 'org.apache.tuweni.crypto.sodium.Sodium'. Cannot be accessed from outside package.

It seems like the other packages do not have this problem. Is there anyway I can work around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions