Searched refs:gpgDir (Results 1 – 3 of 3) sorted by relevance
/dports/security/gopass/gopass-1.13.0/tests/ |
H A D | tester.go | 71 require.NoError(t, os.Setenv("GNUPGHOME", ts.gpgDir())) 87 …filepath.Join(ts.sourceDir, "can", "gnupg", "pubring.gpg"): filepath.Join(ts.gpgDir(), "pubring.gp… 88 …filepath.Join(ts.sourceDir, "can", "gnupg", "random_seed"): filepath.Join(ts.gpgDir(), "random_see… 89 …filepath.Join(ts.sourceDir, "can", "gnupg", "secring.gpg"): filepath.Join(ts.gpgDir(), "secring.gp… 90 …filepath.Join(ts.sourceDir, "can", "gnupg", "trustdb.gpg"): filepath.Join(ts.gpgDir(), "trustdb.gp… 106 func (ts tester) gpgDir() string { func
|
/dports/security/gopass/gopass-1.13.0/internal/store/leaf/ |
H A D | store_test.go | 48 gpgDir := filepath.Join(dir, ".gnupg") 49 if err := os.Setenv("GNUPGHOME", gpgDir); err != nil {
|
/dports/sysutils/libdnf/libdnf-0.64.0/libdnf/repo/ |
H A D | Repo.cpp | 766 static std::vector<std::string> keyidsFromPubring(const std::string & gpgDir) in keyidsFromPubring() argument 774 if (stat(gpgDir.c_str(), &sb) == 0 && S_ISDIR(sb.st_mode)) { in keyidsFromPubring() 781 gpgErr = gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, NULL, gpgDir.c_str()); in keyidsFromPubring() 883 auto gpgDir = getCachedir() + "/pubring"; in importRepoKeys() local 884 auto knownKeys = keyidsFromPubring(gpgDir); in importRepoKeys() 901 if (stat(gpgDir.c_str(), &sb) != 0 || !S_ISDIR(sb.st_mode)) { in importRepoKeys() 902 int res = mkdir(gpgDir.c_str(), 0777); in importRepoKeys() 905 gpgDir, errno, strerror(errno)); in importRepoKeys() 915 … auto gpgErr = gpgme_ctx_set_engine_info(ctx, GPGME_PROTOCOL_OpenPGP, NULL, gpgDir.c_str()); in importRepoKeys()
|