Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo_gpgcheck fails even with signed RPMS & metadata signed as well #57

Open
symgryph opened this issue Jul 19, 2017 · 0 comments
Open

Comments

@symgryph
Copy link

Looks like all repo is signed, and have repomod.xml and repomod.xml.asc (I loaded my gpg keys and seems like is signing.

Yum still wont' work if I enable repo_gpgcheck (hoping to do this for better security). Any ideas why it wont work?

I did add. Here is my custom repo file.

name=myrepo
baseurl=http://127.0.0.1/repo/head/myrepo/x86_64/
enabled=1
gpgcheck=1
#Optional - if you have GPG signing keys installed, use the below flags to verify the repository metadata signature:
http://127.0.0.1/repo/head/creepo/x86_64/creepo.asc
#repo_gpgcheck=1

Here is my /etc/rexx/repositorio.conf file

RepositoryRoot = /var/www/html/repo/

# how often a failed download should be retried.
DownloadRetryCount = 3

# specify repo tag style. either TopDir (default) or BottomDir
TagStyle = TopDir

LogFile = /var/log/repositorio.log
LogFileLevel = info

<Repository myrepo>
  local = creepo/x86_64/
  type  = Yum
  <gpg>
    key=secretkeythatworks
    password=secrekeythatworks
  </gpg>
</Repository>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant