From 0df5ce75a40e9bfe51995d7b11dd9441c9061a1f Mon Sep 17 00:00:00 2001
From: Zdenek Pytela <zpytela@redhat.com>
Date: Wed, 24 Aug 2022 13:49:23 +0200
Subject: [PATCH] Allow gpg read and write generic pty type

---
 policy/modules/contrib/gpg.te | 1 +
 1 file changed, 1 insertion(+)

diff --git a/policy/modules/contrib/gpg.te b/policy/modules/contrib/gpg.te
index 7f96408265..24ce9b7915 100644
--- a/policy/modules/contrib/gpg.te
+++ b/policy/modules/contrib/gpg.te
@@ -156,6 +156,7 @@ logging_send_syslog_msg(gpg_t)
 miscfiles_map_generic_certs(gpg_t)
 
 term_search_ptys(gpg_t)
+term_use_generic_ptys(gpg_t)
 
 userdom_use_inherited_user_terminals(gpg_t)
 # sign/encrypt user files
