Skip to content

Unable to encrypt or decrypt #109

@Matthew-Oluwajuwon

Description

@Matthew-Oluwajuwon

Getting the issue too

ERROR Test failed: [TypeError: Cannot read property 'install' of null]

using version 2.7.3

const testOpenPGP = async () => {
try {
if (OpenPGP.encrypt) {
console.log("Encrypt method is available.");
const result = await OpenPGP.encrypt('Test message', '-----BEGIN PGP PUBLIC KEY BLOCK-----...');
console.log('Encryption result:', result);
} else {
console.error('Encrypt method is not available.');
}
} catch (error) {
console.error('Test failed:', error);
}
};

testOpenPGP();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions