aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tpm2dtests/rsa.scm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tpm2dtests/rsa.scm')
-rw-r--r--tests/tpm2dtests/rsa.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tpm2dtests/rsa.scm b/tests/tpm2dtests/rsa.scm
new file mode 100644
index 000000000..aaae35276
--- /dev/null
+++ b/tests/tpm2dtests/rsa.scm
@@ -0,0 +1,13 @@
+#!/usr/bin/env gpgscm
+
+;; Copyright (C) 2021 [email protected]
+;;
+;; SPDX-License-Identifier: GPL-3.0-or-later
+;;
+(load (in-srcdir "tests" "tpm2dtests" "defs.scm"))
+
+(setup-environment)
+
+(setenv "PINENTRY_USER_DATA" "rsakey" #t)
+
+(test-tpm "rsa <[email protected]>" "rsa2048")