# rdpsign **Repository Path**: cyberkylin/rdpsign ## Basic Information - **Project Name**: rdpsign - **Description**: A Golang open source software used to implement the function of Microsoft rdpsign program - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-20 - **Last Updated**: 2023-02-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # rdpsign #### Description A Golang open source software used to implement the function of Microsoft rdpsign program #### Software Architecture The src directory includes: 1. The rdpsign directory implements the main program and Makefile 2. The pkcs7 directory implements the data signature module based on RFC2315 PKCS#7 CMS specification #### Installati on 1. Create a project directory locally, for example: mkdir rdpsign 2. Switch to the project directory, for example: cd rdpsign 3. Clone project code: git clone https://gitee.com/cyberkylin/rdpsign.git 4. Enter the src/rdpsign directory: cd src/rdpsign 5. Compiled code: make or go build rdpsign.exe will be generated under Windows, and rdpsign will be generated under Linux #### Instructions 1. Create self-signed certificate: rdpsign -newcert -cn name [-expire years][-out path] For example, create CN as test_ Public and private key certificate of host: rdpsign -newcert -cn test_ host -expire 10 2. Sign the. rdp file: rdpsign -sign -cert certfile -key keyfile -rdp rdpfile For example, sign test.rdp: rdpsign -sign -u -cert test_ host.crt -key test_ host.key -rdp test.rdp 3. Sign the base64 encoded rdp configuration: rdpsign -sign -cert certfile -key keyfile -b64 base64_ settings 4. Sign the configuration of standard input: For example, read the rdp configuration from stdin and print the signed url-encoded UTF8 string: cat test.rdp | rdpsign -sign -u -cert test_ host.crt -key test_ host.key 5. Read the rdp configuration from the TCP listening port for signature (API interface): rdpsign -server -p port -cert certfile -key keyfile -l logfile 6. More parameter help: rdpsign -h #### About CyberKylin We are committed to developing more software products in the field of network security and new technology, and jointly promote enterprise-level applications based on open source software. email: openck@aliyun.com Website: https://www.cyberkylin.com (Will open soon)