Skip to content

lfalck/AzureFunctionsPGPDecrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license

AzureFunctionsPGPDecrypt

Azure function which performs PGP decryption using PgpCore. The private key can be stored in an environment variable or in Azure Key Vault by using Key Vault references.

Decrypt

  • Use the function PGPDecrypt.
  • Store a Base64 encoded private key or a Key Vault reference in an environment variable called pgp-private-key.
  • Store a passphrase or a Key Vault reference in an environment variable called pgp-passphrase (optional).
  • Make a request to the function with the encrypted data in the body.

Decrypt and verify

  • Use the function PGPDecryptAndVerify
  • Store a Base64 encoded private key or a Key Vault reference in an environment variable called pgp-private-key.
  • Store a passphrase or a Key Vault reference in an environment variable called pgp-passphrase (optional).
  • Store a Base64 encoded public key or a Key Vault reference in an environment variable called pgp-public-key-verify.
  • Make a request to the function with the encrypted data in the body.

Key generation

About

Azure function which performs PGP decryption.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages