+
      xi  c                  s   R t ^ RIHt ^ RIt^ RIt^ RIHtHtHtH	t	 RP                  4       t]P                  ! ]P                  R]R7      t]P                  RRR	R
7       ]P                  RR]R7       ]P                  RRRRR
7       ]P                  RRRRRR
7       ]P                  RRRRR
7       ]P                  RRRRR
7       ]P                  RRRR
7       R R ltR# ) z3Script to convert a PSKC file to another PSKC file.)annotationsN)
OutputFileVersionActionget_keyget_passworda  
supported columns:
  id, serial, secret, counter, time_offset, time_interval, interval,
  time_drift, issuer, manufacturer, response_length, algorithm
And any other properties of pskc.key.Key instances.

Report bugs to <python-pskc-users@lists.arthurdejong.org>.
)Convert a PSKC file to another PSKC file.)Zformatter_classZdescriptionepiloginputZFILEzthe PSKC file to read)ZmetavarZhelpz-Vz	--version)Zactionz-oz--outputz$write PSKC to file instead of stdoutz-pz
--passwordz--passwdz	PASS/FILEz4password to use for decryption (or read from a file)z-sz--secretzKEY/FILEz>hex encoded encryption key or a file containing the binary keyz--new-passwordz--new-passwdz4password to use for encryption (or read from a file)z--new-secretc               s    V ^8  d   QhRR/# )i   ZreturnZNone )Zformats   ";/usr/lib/python3.14/site-packages/pskc/scripts/pskc2pskc.py__annotate__r
   A   s      d     c                 s^   \         P                  4       p \        P                  ! V P                  4      pV P
                  '       d@   \        V P
                  4      VP                  n        VP                  P                  4        MZV P                  '       dI   VP                  P                  \        V P                  4      4       VP                  P                  4        V P                  '       d1   VP                  P                  \        V P                  4      R7       M@V P                  '       d/   VP                  P!                  \        V P                  4      4       \#        V P$                  4      ;_uu_ 4       pVP'                  V4       RRR4       R#   + '       g   i     R# ; i)r   )keyN)parserZ
parse_argspskcZPSKCr   Zsecretr   Z
encryptionr   Zremove_encryptionZpasswordZ
derive_keyr   Z
new_secretZsetup_preshared_keyZnew_passwordZsetup_pbkdf2r   outputZwrite)ZargsZpskcfiler   s      r	   mainr   A   s    Dyy$H{{{")$++"6--/	&&|DMM'BC--///GDOO4L/M				((d6G6G)HI	DKK	 	 Fv 
!	 	 	 s   ?FF,	)Z__doc__Z
__future__r    Zargparser   Zpskc.scripts.utilr   r   r   r   Zstripr   ZArgumentParserZRawDescriptionHelpFormatterr   Zadd_argumentr   r   r   r	   <module>r      s*  ( : "  6 6
 
EG  
	 	 88;F
L   V"9  ;   +m  -   *f	/  1   ,
K	?  A   *j	I  K   nk	?  A   J	I  K
r   