@task<EOL>def upload_pgp_keys():
get_vars()<EOL>upload_target = '<STR_LIT>'<EOL>with fab.settings(fab.hide('<STR_LIT>')):<EOL><INDENT>fab.run('<STR_LIT>' % upload_target)<EOL>fab.run('<STR_LIT>' % upload_target)<EOL>local_key_path = path.join(fab.env['<STR_LIT>'], fab.env.instance.config['<STR_LIT>'])<EOL>remote_key_path = '<STR_LIT>'.format(**AV)<EOL>rsync('<STR_LIT>', local_key_path, '<STR_LIT>' % upload_target)<EOL>fab.run('<STR_LIT>' % (AV['<STR_LIT>'], remote_key_path))<EOL>fab.run('<STR_LIT>' % remote_key_path)<EOL>with fab.shell_env(GNUPGHOME=remote_key_path):<EOL><INDENT>fab.sudo('''<STR_LIT>''' % upload_target,<EOL>user=AV['<STR_LIT>'], shell_escape=False)<EOL><DEDENT>fab.run('<STR_LIT>' % upload_target)<EOL><DEDENT>
upload and/or update the PGP keys for editors, import them into PGP