-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
32 lines (32 loc) · 1.02 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "OpenPGP-action"
description: "encrypt or sign some text with a PGP key"
author: "oplik0"
inputs:
text:
description: "file or string to encrypt"
required: true
keysource:
description: "key/file/keyserver/wkd (Web Key Directory for looking up keys from email)"
required: true
default: "key"
key:
description: "string containing PGP key, a path to a file or if keysource is keyserver or wkd, a search string (e.g. en email address)"
required: true
privateKey:
description: "string containing a private key used for signing an encryped message. If you only want to sign, use the 'key' field instead"
required: false
passphrase:
description: "Set this if your private key requires a passphrase"
required: false
keyserver:
description: "Custom keyserver address (default is https://keyserver.ubuntu.com)"
required: false
outputs:
encrypted-text:
description: "the result of encryption"
runs:
using: node16
main: dist/index.js
branding:
icon: "lock"
color: "blue"