Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 57445
Collapse All | Expand All

(-)bin/repoman (+7 lines)
Lines 221-226 Link Here
221
repoman_settings = portage.config(clone=portage.settings)
221
repoman_settings = portage.config(clone=portage.settings)
222
verbose=0
222
verbose=0
223
quiet=0
223
quiet=0
224
gpg_attempts=0
224
225
225
def valid_ebuild_name(name):
226
def valid_ebuild_name(name):
226
	"""(name) --- Checks to ensure that the package name meets portage specs.
227
	"""(name) --- Checks to ensure that the package name meets portage specs.
Lines 1576-1581 Link Here
1576
1577
1577
	# Setup the GPG commands
1578
	# Setup the GPG commands
1578
	def gpgsign(filename):
1579
	def gpgsign(filename):
1580
		if gpg_attempts > 10:
1581
			portage.writemsg("MAX gpg signging attempts reach. The key you are using is invalid and or expired or so other error which we have not encountered yet"
1582
			sys.exit(1)
1583
1584
		gpg_attempts += 1
1585
1579
		gpgcmd = "gpg --sign --clearsign --yes "
1586
		gpgcmd = "gpg --sign --clearsign --yes "
1580
		gpgcmd+= "--default-key "+repoman_settings["PORTAGE_GPG_KEY"]
1587
		gpgcmd+= "--default-key "+repoman_settings["PORTAGE_GPG_KEY"]
1581
		if repoman_settings.has_key("PORTAGE_GPG_DIR"):
1588
		if repoman_settings.has_key("PORTAGE_GPG_DIR"):

Return to bug 57445