You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integration/features/sign/signed.feature
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,11 @@ Feature: signed
9
9
And run the command "libresign:configure:openssl --cn=Common\ Name --c=BR --o=Organization --st=State\ of\ Company --l=City\ Name --ou=Organization\ Unit" with result code 0
10
10
And run the command "config:app:set libresign add_footer --value=true --type=boolean" with result code 0
11
11
And run the command "config:app:set libresign write_qrcode_on_footer --value=true --type=boolean" with result code 0
12
-
And run the command "config:app:set libresign tsa_url --value=https://freetsa.org/tsr --type=string" with result code 0
12
+
And sending "post" to ocs "/apps/libresign/api/v1/admin/tsa"
13
+
| tsa_url | <TSA_URL> |
14
+
| tsa_policy_oid | 1.2.3.4.1 |
15
+
| tsa_auth_type | none |
16
+
And the response should have a status code 200
13
17
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods"
14
18
| value | (string)[{"name":"account","enabled":true,"mandatory":true,"signatureMethods":{"password":{"name":"password","enabled":true}},"signatureMethodEnabled":"password"}] |
Scenario: TSA workflow - Successfully signs document with timestamp
12
12
Given run the command "config:app:set libresign signing_mode --value=sync --type=string" with result code 0
13
-
And run the command "config:app:set libresign tsa_url --value=https://freetsa.org/tsr --type=string" with result code 0
14
-
And run the command "config:app:set libresign tsa_auth_type --value=none --type=string" with result code 0
13
+
And sending "post" to ocs "/apps/libresign/api/v1/admin/tsa"
14
+
| tsa_url | <TSA_URL> |
15
+
| tsa_policy_oid | 1.2.3.4.1 |
16
+
| tsa_auth_type | none |
17
+
And the response should have a status code 200
15
18
And sending "post" to ocs "/apps/provisioning_api/api/v1/config/apps/libresign/identify_methods"
16
19
| value | (string)[{"name":"account","enabled":true,"mandatory":true,"signatureMethods":{"clickToSign":{"enabled":true}},"signatureMethodEnabled":"clickToSign"}] |
0 commit comments