Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme typo #7

Open
ceceayo opened this issue May 4, 2024 · 0 comments
Open

Readme typo #7

ceceayo opened this issue May 4, 2024 · 0 comments

Comments

@ceceayo
Copy link

ceceayo commented May 4, 2024

I don't know if this is intentional, I believe not. The second example in the Readme, "With Signing", has a typo: instead of EncryptParameter, like in the first example, there has been written EncryptParamete.

With signing

KotlinPGP.encrypt(EncryptParamete( # <--- here
    message = contentToEncrypt,
    publicKey = publicKeys, // A list of public key string
    enableSignature = true,
    privateKey = keypair.secretKey, // A private key string
    password = keyPassword
))

I believe this should be

KotlinPGP.encrypt(EncryptParameter( # <--- here
    message = contentToEncrypt,
    publicKey = publicKeys, // A list of public key string
    enableSignature = true,
    privateKey = keypair.secretKey, // A private key string
    password = keyPassword
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant