Import netpgp from Pascal Stumpf