ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/GPG.ybc

YaST bytecode 1.4.0GPGGPG.ycpStringReport	FileUtilshome	public_keysprivate_keysInit	buildGPGcommand			callGPG	
parsing_map			parse_key		parseKeys	

PublicKeysPrivateKeys	CreateKeySignFile			SignAsciiDetached			SignDetached			
VerifyFile		ExportAsciiPublicKey		ExportPublicKey			%home_dir	force

mkeyid	file	
passphrase	ykeyid	file	
passphrase	sig_file	file	keyid	file	keyid	file	3UI
RunInTerminal	GetDisplayInfo	3SCRReadWriteExecute3StringQuote		3ReportError	3	FileUtilsExists	IsDirectory	0base$$$%%('4(,)	
y2error	
Path %1 is not a directory-*(-||4.&0&1&4-6%>options	home_opt	ret	$@	size			
sformat		
--homedir '%1' $A+			+			gpg ,B	
y2milestone	
gpg command: %1-D%L	options	retcommand	$N
$O+				LC_ALL=C &QSCR::Execute.target.bash_output(Sexit4T,U	
y2error	

gpg error: %1-X$_

^      Key fingerprint = (.*)fingerprint^pub  .*/([^ ]*) id^sec  .*/([^ ]*) id
^uid *(.*)uid%olines	ret$q
,s		foreachline	,u				foreachregexp	key	


parsed	$w					regexpsub				
\1(y4z(|
uid4},~	
y2milestone	
%1: %2
'
add
	4(haskey
4,	
	y2warning	
*Key %1: replacing old value '%2' with '%3'
	
'
,	
y2milestone	
Parsed key: %1-%input	retlines		key_lines	
key_line_list	
$	$			splitstring			
(	size	4&		remove&		remove$	$	,		foreachline	(4&			add&	4&			add&	,		foreachkeylines	parsed$	(size	4&add	,	
y2milestone	
Parsed keys: %1-%
out(4-$	--list-keys --fingerprint(exit4&	stdout-%out(4-$	 --list-secret-keys --fingerprint(exit4&	stdout-%xterm	command		text_moderet$/usr/bin/xterm$	--gen-key$TextMode,	
y2debug	

text_mode: %1$(!4	exit_file	(		SCR::Read.target.size4
,(Xterm is missing, install xterm package.base-
$+					SCR::Read.target.tmpdir/gpg_tmp_exit_file(4,SCR::Execute.target.execute+			rm -f &+			+			+			+			+			+				LC_ALL=C  -e "; echo $? > ",	

y2internal	

Executing: %1,SCR::Execute.target.bash(4	exit_code	$ 		SCR::Read.target.string,!	
y2milestone	
#Read exit code from tmp file %1: %2&#0
4&,'	
	y2warning	
0Exit file is missing, the gpg command has failed&(4,&-+				LC_ALL=C ,.	

y2internal	
Executing in terminal: %1&0(344,6-9%Ekeyid	file	
passphrase	ascii_signaturesuffix	tmpfile	writtenout(G||||||||4H,I	
y2error	
7Invalid parameters: keyid: %1, file: %2, passphrase: %3-J$N.asc.sig(P	SCR::Read.target.size+			4Q,SSCR::Execute.target.bash		
sformat		
rm -f '%1%2'$W+					SCR::Read.target.tmpdir/stdin$Y
SCR::Write.target.string+			
([!4\-]$a			
sformat		
V--detach-sign -u '%1' --no-tty --batch --command-fd=0 --passphrase-fd 0 %2 '%3' < '%4'-a-cexit%m-o%y-{%out$			
sformat		
--verify '%1' '%2'-exit%out$			
sformat		
-a --export '%1' > '%2'-exit%out$			
sformat		
--export '%1' > '%2'-exit

ACC SHELL 2018