{"id":28042341,"url":"https://github.com/parallaxsecond/parsec-tool","last_synced_at":"2025-05-11T14:26:19.093Z","repository":{"id":37415280,"uuid":"281632926","full_name":"parallaxsecond/parsec-tool","owner":"parallaxsecond","description":"The Parsec Command Line Interface","archived":false,"fork":false,"pushed_at":"2024-05-31T09:51:56.000Z","size":297,"stargazers_count":13,"open_issues_count":13,"forks_count":19,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-29T21:48:18.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/parallaxsecond.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-22T09:24:25.000Z","updated_at":"2024-12-09T01:41:00.000Z","dependencies_parsed_at":"2023-01-30T18:15:17.420Z","dependency_job_id":"d707aa2c-8ad1-4cc5-9f9d-abede3c786b9","html_url":"https://github.com/parallaxsecond/parsec-tool","commit_stats":{"total_commits":103,"total_committers":10,"mean_commits":10.3,"dds":0.7184466019417476,"last_synced_commit":"9f806db019a117691df220f01718927d319c1606"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parallaxsecond%2Fparsec-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parallaxsecond","download_url":"https://codeload.github.com/parallaxsecond/parsec-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253578815,"owners_count":21930608,"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":"2025-05-11T14:26:18.321Z","updated_at":"2025-05-11T14:26:19.073Z","avatar_url":"https://github.com/parallaxsecond.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parsec Tool\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://crates.io/crates/parsec-tool\"\u003e\u003cimg alt=\"Crates.io\" src=\"https://img.shields.io/crates/v/parsec-tool\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://docs.rs/parsec-tool\"\u003e\u003cimg src=\"https://docs.rs/parsec-tool/badge.svg\" alt=\"Code documentation\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nThis repository contains a tool to communicate with the [Parsec\nservice](https://github.com/parallaxsecond/parsec) on the command-line.\n\n## Getting started\n\nTo compile and list the available commands:\n\n```\n$ cargo build\n$ cargo run\n```\n\nPing the service:\n\n```\n$ cargo run -- ping\n```\n\n## Modifying Parsec service endpoint\n\nFor demos and to test the Parsec service, you might want to change the Parsec endpoint location. For\nthat, set the `PARSEC_SERVICE_ENDPOINT` environment variable to correction endpoint.\n\nTo set a Unix Domain Socket Listener endpoint at `/tmp/parsec.sock`:\n\n```\n$ export PARSEC_SERVICE_ENDPOINT=unix:/tmp/parsec.sock\n```\n\n## Modifying logging output\n\nYou can set the `RUST_LOG` environment variable to modify the logging outpout. See [the\ndocumentation](https://docs.rs/env_logger/0.8.3/env_logger/index.html) for more information.\n\n## Data format\n\nUnless specified otherwise below, the data format expected by the commands is the same as describe\nin the [Parsec\nBook](https://parallaxsecond.github.io/parsec-book/parsec_client/operations/index.html). The\n`--help` option of commands might give more information about the expected format.\n\n- ECDSA signatures are formatted using the ASN.1 representation `Ecdsa-Sig-Value` described in [RFC\n   3279](https://tools.ietf.org/html/rfc3279#section-2.2.3).\n- Plaintext data is expected/shown as a UTF-8 string (input data of `sign`, output data of\n   `decrypt`).\n- Ciphertext data is expected/shown as base 64 (output data of `sign`, input data of `decrypt`).\n- Exported public keys are encoded in PEM. By default PKCS#8 format\n  is used for RSA [RFC 3279](https://datatracker.ietf.org/doc/html/rfc3279#section-2.3.1)\n  and ECC [RFC 5480](https://datatracker.ietf.org/doc/html/rfc5480#section-2)\n  public keys. With `--pkcs1` parameter RSA keys exported in PKCS#1 format\n  [RFC 2313](https://datatracker.ietf.org/doc/html/rfc2313#section-7.1).\n\n## SPIFFE based authenticator\n\nTo be able to authenticate with the [JWT-SVID\nauthenticator](https://parallaxsecond.github.io/parsec-book/parsec_service/authenticators.html#jwt-spiffe-verifiable-identity-document-authenticator),\ncompile this crate with the `spiffe-auth` feature.\n\n# Demo\n\n[![asciicast](https://asciinema.org/a/RNPjvbgKDlQ0FRFUUKjjNUom6.svg)](https://asciinema.org/a/RNPjvbgKDlQ0FRFUUKjjNUom6)\n\n`tests/parsec-cli-tests.sh` can be used for end to end Parsec tests using parsec-tool.\n\n# License\n\nThe software is provided under Apache-2.0. Contributions to this project are accepted under the same\nlicense.\n\n# Contributing\n\nPlease check the [**Contribution\nGuidelines**](https://parallaxsecond.github.io/parsec-book/contributing/index.html) to know more\nabout the contribution process.\n\n*Copyright 2020 Contributors to the Parsec project.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallaxsecond%2Fparsec-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparallaxsecond%2Fparsec-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparallaxsecond%2Fparsec-tool/lists"}