/[soft]/gpg/import-priv-key
ViewVC logotype

Annotation of /gpg/import-priv-key

Parent Directory Parent Directory | Revision Log Revision Log


Revision 442 - (hide annotations) (download)
Sun Feb 6 14:41:22 2011 UTC (14 years ago) by boklm
File size: 248 byte(s)
add script to reimport private key using parts
1 boklm 442 #!/bin/sh
2    
3     . ./config
4    
5     ./unsplit-passphrase
6    
7     mkdir -p "$GPGHOMEDIR"
8     chmod 700 "$GPGHOMEDIR"
9    
10     gpg --decrypt --passphrase-file "$passphrase" "$seckey_e" > "$seckey"
11     rm -f "$passphrase"
12     gpg --homedir "$GPGHOMEDIR" --import "$seckey"
13     rm -f "$seckey"
14    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30