Skip to content

Is this library/package actively maintained or is it unsupported? #1431

Closed
@purplepenguin42

Description

@purplepenguin42

Security issue notifications

If you discover a potential security issue in the AWS Encryption SDK we ask that you notify AWS Security via our vulnerability reporting page. Please do not create a public GitHub issue.

Problem:

The docs for this library/package are lacking quite severely in basic working examples. It looks like it was either never really finished/ready for prime time, or has simply been dropped all together in terms of being actively maintained.

For example, the only examples page that seemingly exists doesn't actually explain where the KmsKeyringNode class comes from, or how to get the encrypt and decrypt functions. You have to look at the raw example code in GitHub to even have a chance at understanding how to get working code.

Solution:

Provide a clear copy/paste example in the docs versus omitting key things.

Include the actual import statement needed for KmsKeyringNode:

import { KmsKeyringNode } from '@aws-crypto/client-node';

Include the actual import statement needed for the encrypt and decrypt functionality:

import { buildClient } from '@aws-crypto/client-node';

Include the actual function call to generate the two functions:

const { encrypt, decrypt } = buildClient();

At this point, I still have no idea if this is even the correct way to do it. There aren't any docs whatsoever about the buildClient function among many others.

Out of scope:

Is there anything the solution will intentionally NOT address?

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