if (self.config.privateKey) {
            self.config.privateKey = encryption.encrypt(self.config.privateKey);
        }