An open API service indexing awesome lists of open source software.

https://github.com/softwareag/webmethods.io-openpgp-connector

This is a webMethods.io community connector that uses the OpenPGP protocol to perform encryption and decryption of string data.
https://github.com/softwareag/webmethods.io-openpgp-connector

community connectors webmethods webmethods-io-integration

Last synced: 6 months ago
JSON representation

This is a webMethods.io community connector that uses the OpenPGP protocol to perform encryption and decryption of string data.

Awesome Lists containing this project

README

          

# webMethods.io-OpenPGP Connector
This is a webMethods.io community connector that uses the [OpenPGP](https://www.openpgp.org/) protocol to perform encryption and decryption of string data. Two actions are supported:
* Encrypt
* Decrypt

## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites
This connector requires any [Node](https://nodejs.org/dist/) version between 8.14.0 and 10.14.2.

**Note:** If you have installed any other Node version on your system, you can:
1. Use tools to switch between different versions of Node

- For Windows, use [nvm-windows](https://github.com/coreybutler/nvm-windows#installation--upgrades).

- For Mac, use [homebrew](https://brew.sh/).
2. Build your app using your existing Node version and then transpile your code using a transpiler like [Babel](https://babeljs.io/).

The connector has been built with [wmiocli](https://docs.webmethods.io/integration/developer_guide/connector_builder/#gsc.tab=0), webMethods.io's iPaaS Connector Builder CLI tool and [openpgp.js](https://www.npmjs.com/package/openpgp), a JavaScript implementation of the OpenPGP protocol.

### Installing
1. Clone the repo `https://github.com/SoftwareAG/webmethods.io-OpenPGP-Connector.git`.
2. Run `npm install -g @webmethodsio/wmiocli`.
3. Login to your webMethods.io tenant using `wmio login`.
4. Execute `npm install` to get started.
5. Finally, execute `wmio deploy` to deploy this connector to your tenant.

Once deployed, it’ll be automatically registered with webMethods.io Integration and will be available to you locally in the Connectors panel under the Services tab.

## Running the tests
To test, you can execute `wmio test`.

## Deployment
Execute `wmio deploy` to deploy this connector to your webMethods.io tenant. And `wmio unpublish` to unpublish the published connector app along with triggers and actions associated with the app.

![OpenPGP Connector](https://user-images.githubusercontent.com/16189220/80452564-2cc34e80-8944-11ea-8e81-3ed9ae93ada9.png)

## Key Format Examples

**Note:** You can use this **[key generator](https://pgpkeygen.com/)** to generate keys for testing.

### Private Key
![Private Key](https://user-images.githubusercontent.com/16189220/80452759-8c215e80-8944-11ea-8260-a0159376b46c.png)

### Public Key
![Public Key](https://user-images.githubusercontent.com/16189220/80452853-bf63ed80-8944-11ea-914e-e2088700fa93.png)

### Encrypted Message
![Encrypted Message](https://user-images.githubusercontent.com/16189220/80452916-eae6d800-8944-11ea-91d2-643ed5bddfd7.png)

## Built with
Node v8.14.0 and [wmiocli](https://docs.webmethods.io/integration/developer_guide/connector_builder/#gsc.tab=0), webMethods.io's iPaaS Connector Builder CLI.

## Contributors
[Anshuman Saikia](https://github.com/anshu96788) |
[Dipankar Dutta](https://github.com/DipankarDDUT) |
[Nawajish Laskar](https://github.com/Nawajish)

## License
This project is licensed under the Apache 2.0 License - see the [LICENSE.md](https://github.com/SoftwareAG/webmethods-microservicesruntime-samples/blob/master/LICENSE) file for details.

______________________
These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

Contact us at [TECHcommunity](mailto:technologycommunity@softwareag.com?subject=Github/SoftwareAG) if you have any questions.