{"id":13691325,"url":"https://github.com/SoftwareAG/webmethods-integrationserver-pgpencryption","last_synced_at":"2025-05-02T15:31:47.026Z","repository":{"id":81495207,"uuid":"93149503","full_name":"SoftwareAG/webmethods-integrationserver-pgpencryption","owner":"SoftwareAG","description":"webMethods Integration Server PGP package","archived":false,"fork":false,"pushed_at":"2019-10-17T08:34:15.000Z","size":182,"stargazers_count":5,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T09:51:38.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoftwareAG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-06-02T09:21:37.000Z","updated_at":"2024-04-26T22:46:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e13e19cd-d915-4716-b7e0-97acb18fa8ee","html_url":"https://github.com/SoftwareAG/webmethods-integrationserver-pgpencryption","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-integrationserver-pgpencryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-integrationserver-pgpencryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-integrationserver-pgpencryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoftwareAG%2Fwebmethods-integrationserver-pgpencryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoftwareAG","download_url":"https://codeload.github.com/SoftwareAG/webmethods-integrationserver-pgpencryption/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252062885,"owners_count":21688615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T17:00:43.401Z","updated_at":"2025-05-02T15:31:46.162Z","avatar_url":"https://github.com/SoftwareAG.png","language":"Java","funding_links":[],"categories":["Integration \u0026 APIs","webMethods"],"sub_categories":["![icon-webMethods-Integration-64x64](https://user-images.githubusercontent.com/23717841/230610381-65dc75d9-f738-49ad-a8fc-03e5eacf99f4.png) webMethods Integration Server"],"readme":"# webMethods Integration Server package for PGP\nThis project provides a sample Integration Server package for PGP encryption and decryption. It is using the Bouncy Castle library (https://www.bouncycastle.org/, version 145).\n\n## Requirements\n\nThe project was developed and tested on the following installation:\n1. Integration Server 9.12\n2. Software AG Designer 9.12 with Service Development\n\n## Quick start\n\nTo install the project on your local development environment follow these steps.\n1. Checkout the repository to your development environment\n2. Copy the ```PGP``` folder to ```\u003cinstall_dir\u003e/IntegrationServer/instances/\u003cinstance\u003e/packages```.\n3. Download the following Bouncy Castle libraries and copy to ```\u003cinstall_dir\u003e/IntegrationServer/instances/\u003cinstance\u003e/packages/PGP/code/jars/static```\n    1. http://www.bouncycastle.org/archive/145/bcprov-jdk15-145.jar\n    2. http://www.bouncycastle.org/archive/145/bcpg-jdk15-145.jar\n3. Restart Integration Server\n\n## Run tests\n\nThere are tests provided in ```pgp.test```\n\n### Decrypt\n\n- **decrypt:testDecryptAndVerifyFile:** Decrypt file and verify its signature\n- **decrypt:testDecryptAndVerifyString:** Decrypt signed string and verify its signature\n- **decrypt:testDecryptAndVerifyUnsignedString:** Decrypt unsigned string and verify its signature\n- **decrypt:testDecryptFile:** Decrypt file (no signature verification)\n- **decrypt:testDecryptString:** Decrypt string (no signature verification)\n\n### Encrypt\n- **encrypt:testEncryptAndSignFile:** Encrypt and sign file\n- **encrypt:testEncryptAndSignString:** Encrypt and sign string\n- **encrypt:testEncryptFile:** Encrypt file (no signing)\n- **encrypt:testEncryptString:** Encrypt string (no signing)\n\n### Keys\n- **keys:testListAlgorithms:** List all supported algorithms\n- **keys:testReadPrivateKeys:** Read a private key by user id\n- **keys:testReadPublicKeys:** Read a public key by user id\n\n\n## Key-Configuration\n\nConfiguration of RSA keys is done in ```\\config\\config.xml```. A demo configuration is provided with this package.\n```\nNote: package assumes keys to be located in \\pub\\keys. In the configuration provide filenames only (without path).\n```\n\n## Provided RSA keys\n\nThe package comes with two RSA keys for users ```alice``` and ```bob```. You can find the RSA keys in ```\\pub\\keys```. The keys have been generated using https://www.igolder.com/pgp/generate-key/\n- **alice-pub.asc:** Alice's public key\n- **alice-sec.asc:** Alice's private key, secret: ```alice```\n- **bob-pub.asc:** Bob's public key\n- **bob-sec.asc:** Bob's private key, secret: ```bob```\n\n## Supported Algorithms\n\n### Key Exchange Algorithms\n- ELGAMAL_ENCRYPT\n- DSA\n- RSA\n- EC\n- RSA_ENCRYP\n- ECDSA\n- RSA_SIGN\n- ELGAMAL\n- DH\n\n### Encryption Algorithms\n- IDEA\n- TRIPLE_DES\n- CAST5\n- BLOWFISH\n- SAFER\n- DES\n- AES_128\n- AES_192\n- AES_256\n- TWOFISH\n\n### Signature Algorithms\n- MD5\n- SHA1\n- RIPEMD160\n- DOUBLE_SHA\n- MD2\n- TIGER 192\n- HAVAL_5_160\n- SHA256\n- SHA384\n- SHA512\n- SHA224\n\n## Updates\n* Added lib/pgp_idk.jar which contains the PGP IS package's com.softwareag.pgp package contents.\n\n______________________\nThese 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.\n_____________\nFor more information you can Ask a Question in the [TECHcommunity Forums](http://tech.forums.softwareag.com/techjforum/forums/list.page?product=webmethods).\n\nYou can find additional information in the [Software AG TECHcommunity](http://techcommunity.softwareag.com/home/-/product/name/webmethods).\n_____________\nContact us at [TECHcommunity](mailto:technologycommunity@softwareag.com?subject=Github/SoftwareAG) if you have any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftwareAG%2Fwebmethods-integrationserver-pgpencryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSoftwareAG%2Fwebmethods-integrationserver-pgpencryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSoftwareAG%2Fwebmethods-integrationserver-pgpencryption/lists"}