Skip to content

ploufs/webencryptor

Repository files navigation

webencryptor

.NET CodeQL Dependabot Updates

pull docker image

docker pull ploufs/webencryptor:latest

environement variable

ASPNETCORE_HTTP_PORTS -> 8080 OpenApiEnabled -> true,false ScalarEnabled -> true,false

volume

/app/PGPPublicKey -> pgp public key folder

run image

docker run -d --name=webencryptor -e TZ=America/Toronto -e OpenApiEnabled=true -e ScalarEnabled=true -p 8080:8080 -v C:\PGPPublicKey:/app/PGPPublicKey ploufs/webencryptor:latest

api info

openapi : http://localhost:8080/openapi/v1.json scalar: http://localhost:8080/scalar/v1

exemple powershell

curl https://localhost:8080/PGPEncrypt --request POST --header 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'filenamePublicKey={{publickey}}' --data-urlencode 'text={{text}}'

exemple shell script (linux)

message_chiffre=$(curl -s -F "filenamePublicKey={{publickey}}" -F "text={{text}}" https://localhost:8080/PGPEncrypt);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •