main.pyの変更を差し戻し
This commit is contained in:
parent
c603eea19e
commit
7a74bba999
@ -96,7 +96,7 @@ def handler(event, context):
|
||||
# ⑤ 「③」で読み込んだ秘密鍵ファイルをPGPライブラリにインポートを行う
|
||||
try:
|
||||
logger.info('I-05-01 秘密鍵ファイルインポート')
|
||||
gpg = gnupg.GPG(gnupghome=PATH_TEMP, gpgbinary="/usr/bin/gpg", verbose=True)
|
||||
gpg = gnupg.GPG(gnupghome=PATH_TEMP)
|
||||
with open(PATH_TEMP_PRIVATE_KEY) as key_file:
|
||||
gpg.import_keys(key_file.read())
|
||||
logger.info('I-05-02 秘密鍵ファイルをインポートしました')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user