这是indexloc提供的服务,不要输入任何密码
Skip to content

Calculate and verify mac #1

@humphd

Description

@humphd

Currently I'm not calculating the hash for the decrypted data and comparing it to the mac/lastmodified:

https://github.com/humphd/sops-age/blob/main/src/decrypt.ts#L112-L125

This should get added. I've tried doing it, but I'm unclear on the order of the keys, so my hash never comes out the same as sops'.

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