Page MenuHome GnuPG

375_0001-checks-do-not-access-files-outside-of-build.patch
AbandonedPublic

Authored by alonbl on May 13 2013, 9:37 PM.

Details

Reviewers
None
Summary

From 966a3a25086cc40461853c43160cb0f43aa97068 Mon Sep 17 00:00:00 2001
From: Alon Bar-Lev <alon.barlev@gmail.com>
Date: Mon, 13 May 2013 22:31:56 +0300
Subject: [PATCH] checks: do not access files outside of build

echo '#!/bin/sh' >./gpg_dearmor
echo "../g10/gpg --no-options --no-greeting \

--no-secmem-warning --batch --dearmor" >>./gpg_dearmor

chmod 755 ./gpg_dearmor
./gpg_dearmor > ./pubring.gpg < ./pubring.asc
gpg: keyblock resource `/var/tmp/portage/app-crypt/gnupg-1.4.13/homedir/.gnupg/secring.gpg': file open error
gpg: keyblock resource `/var/tmp/portage/app-crypt/gnupg-1.4.13/homedir/.gnupg/pubring.gpg': file open error

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>

checks/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

1.8.1.5

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped