{"id":19933979,"url":"https://github.com/libimobiledevice/libtatsu","last_synced_at":"2025-08-20T17:21:41.730Z","repository":{"id":240450504,"uuid":"802670695","full_name":"libimobiledevice/libtatsu","owner":"libimobiledevice","description":"Library handling the communication with Apple's Tatsu Signing Server (TSS)","archived":false,"fork":false,"pushed_at":"2025-07-10T23:02:22.000Z","size":32,"stargazers_count":49,"open_issues_count":0,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-17T10:59:18.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libimobiledevice.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-18T23:53:10.000Z","updated_at":"2025-07-10T23:02:26.000Z","dependencies_parsed_at":"2025-07-16T15:06:52.196Z","dependency_job_id":null,"html_url":"https://github.com/libimobiledevice/libtatsu","commit_stats":null,"previous_names":["libimobiledevice/libtatsu"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/libimobiledevice/libtatsu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libimobiledevice%2Flibtatsu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libimobiledevice%2Flibtatsu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libimobiledevice%2Flibtatsu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libimobiledevice%2Flibtatsu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libimobiledevice","download_url":"https://codeload.github.com/libimobiledevice/libtatsu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libimobiledevice%2Flibtatsu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270040726,"owners_count":24516684,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-12T23:15:31.141Z","updated_at":"2025-08-12T10:05:07.104Z","avatar_url":"https://github.com/libimobiledevice.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libtatsu\n\nLibrary handling the communication with Apple's Tatsu Signing Server (TSS).\n\n![](https://github.com/libimobiledevice/libtatsu/workflows/build/badge.svg)\n\n## Table of Contents\n- [Features](#features)\n- [Building](#building)\n  - [Prerequisites](#prerequisites)\n    - [Linux (Debian/Ubuntu based)](#linux-debianubuntu-based)\n    - [macOS](#macos)\n    - [Windows](#windows)\n  - [Configuring the source tree](#configuring-the-source-tree)\n  - [Building and installation](#building-and-installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Links](#links)\n- [License](#license)\n- [Credits](#credits)\n\n## Features\n\nThis library is part of the [libimobiledevice](https://github.com/libimobiledevice)\nproject. The main purpose of this library is to allow creating TSS request\npayloads, sending them to Apple's TSS server, and retrieving and processing\nthe response.\n\nThe code was originally part of [idevicerestore](https://github.com/libimobiledevice/idevicerestore)\nand has been split out to its own library, while obviously [idevicerestore](https://github.com/libimobiledevice/idevicerestore)\nwill remain the main consumer.\n\n## Building\n\n### Prerequisites\n\nYou need to have a working compiler (gcc/clang) and development environent\navailable. This project uses autotools for the build process, allowing to\nhave common build steps across different platforms.\nOnly the prerequisites differ and they are described in this section.\n\nlibtatsu requires [libplist](https://github.com/libimobiledevice/libplist)\n**version 2.6.0** or later.\nCheck the [Building](https://github.com/libimobiledevice/libplist?tab=readme-ov-file#building)\nsection of the README on how to build it. Note that some platforms might have it as a package.\nAlso [libcurl](https://github.com/curl/curl) is required, but most platforms\nalready have it available as a package.\n\n#### Linux (Debian/Ubuntu based)\n\n* Install all required dependencies and build tools:\n  ```shell\n  sudo apt-get install \\\n  \tbuild-essential \\\n  \tpkg-config \\\n  \tcheckinstall \\\n  \tgit \\\n  \tautoconf \\\n  \tautomake \\\n  \tlibtool-bin \\\n  \tlibplist-dev \\\n\tlibcurl4-openssl-dev\n  ```\n\n  In case libplist-dev is not available, you can manually build and install it. See note above.\n\n#### macOS\n\n* Make sure the Xcode command line tools are installed. Then, use either [MacPorts](https://www.macports.org/)\n  or [Homebrew](https://brew.sh/) to install `automake`, `autoconf`, `libtool`, etc.\n\n  Using MacPorts:\n  ```shell\n  sudo port install libtool autoconf automake pkgconfig\n  ```\n\n  Using Homebrew:\n  ```shell\n  brew install libtool autoconf automake pkg-config\n  ```\n\n  For libcurl, it is recommended to use the system specific library:\n  ```shell\n  export libcurl_CFLAGS=\"-I`xcrun --sdk macosx --show-sdk-path 2\u003e/dev/null`/usr/include\"\n  export libcurl_LIBS=\"-lcurl\"\n  ```\n\n#### Windows\n\n* Using [MSYS2](https://www.msys2.org/) is the official way of compiling this project on Windows. Download the MSYS2 installer\n  and follow the installation steps.\n\n  It is recommended to use the _MSYS2 MinGW 64-bit_ shell. Run it and make sure the required dependencies are installed:\n\n  ```shell\n  pacman -S base-devel \\\n  \tgit \\\n  \tmingw-w64-x86_64-gcc \\\n  \tmake \\\n  \tlibtool \\\n  \tautoconf \\\n  \tautomake-wrapper \\\n  \tpkg-config \\\n        libzstd-devel \\\n  \tlibcurl-devel\n  ```\n  NOTE: You can use a different shell and different compiler according to your needs. Adapt the above command accordingly.\n\n### Configuring the source tree\n\nYou can build the source code from a git checkout, or from a `.tar.bz2` release tarball from [Releases](https://github.com/libimobiledevice/libtatsu/releases).\nBefore we can build it, the source tree has to be configured for building. The steps depend on where you got the source from.\n\nSince libtatsu depends on other packages, you should set the pkg-config environment variable `PKG_CONFIG_PATH`\naccordingly. Make sure to use a path with the same prefix as the dependencies. If they are installed in `/usr/local` you would do\n\n```shell\nexport PKG_CONFIG_PATH=/usr/local/lib/pkgconfig\n```\n\n* **From git**\n\n  If you haven't done already, clone the actual project repository and change into the directory.\n  ```shell\n  git clone https://github.com/libimobiledevice/libtatsu\n  cd libtatsu\n  ```\n\n  Configure the source tree for building:\n  ```shell\n  ./autogen.sh\n  ```\n\n* **From release tarball (.tar.bz2)**\n\n  When using an official [release tarball](https://github.com/libimobiledevice/libtatsu/releases) (`libtatsu-x.y.z.tar.bz2`)\n  the procedure is slightly different.\n\n  Extract the tarball:\n  ```shell\n  tar xjf libtatsu-x.y.z.tar.bz2\n  cd libtatsu-x.y.z\n  ```\n\n  Configure the source tree for building:\n  ```shell\n  ./configure\n  ```\n\nBoth `./configure` and `./autogen.sh` (which generates and calls `configure`) accept a few options, for example `--prefix` to allow\nbuilding for a different target folder. You can simply pass them like this:\n\n```shell\n./autogen.sh --prefix=/usr/local\n```\nor\n```shell\n./configure --prefix=/usr/local\n```\n\nOnce the command is successful, the last few lines of output will look like this:\n```\n[...]\nconfig.status: creating config.h\nconfig.status: executing depfiles commands\nconfig.status: executing libtool commands\n\nConfiguration for libtatsu 1.0.0:\n-------------------------------------------\n\n  Install prefix: .........: /usr/local\n\n  Now type 'make' to build libtatsu 1.0.0,\n  and then 'make install' for installation.\n```\n\n### Building and installation\n\nIf you followed all the steps successfully, and `autogen.sh` or `configure` did not print any errors,\nyou are ready to build the project. This is simply done with\n\n```shell\nmake\n```\n\nIf no errors are emitted you are ready for installation. Depending on whether\nthe current user has permissions to write to the destination directory or not,\nyou would either run\n```shell\nmake install\n```\n_OR_\n```shell\nsudo make install\n```\n\nIf you are on Linux, you want to run `sudo ldconfig` after installation to\nmake sure the installed libraries are made available.\n\n## Usage\n\nThis library is directly used by idevicerestore and libimobiledevice, so there\nis no need to do anything in particular. Feel free to use it in your project,\ncheck the header files for available functions. A documentation might be added\nlater.\n\n## Contributing\n\nWe welcome contributions from anyone and are grateful for every pull request!\n\nIf you'd like to contribute, please fork the `master` branch, change, commit and\nsend a pull request for review. Once approved it can be merged into the main\ncode base.\n\nIf you plan to contribute larger changes or a major refactoring, please create a\nticket first to discuss the idea upfront to ensure less effort for everyone.\n\nPlease make sure your contribution adheres to:\n* Try to follow the code style of the project\n* Commit messages should describe the change well without being too short\n* Try to split larger changes into individual commits of a common domain\n\n## Links\n\n* Homepage: https://libimobiledevice.org/\n* Repository: https://github.com/libimobiledevice/libtatsu.git\n* Issue Tracker: https://github.com/libimobiledevice/libtatsu/issues\n* Mailing List: https://lists.libimobiledevice.org/mailman/listinfo/libimobiledevice-devel\n* Twitter: https://twitter.com/libimobiledev\n\n## License\n\nThis library is licensed under the [GNU Lesser General Public License v2.1](https://www.gnu.org/licenses/lgpl-2.1.en.html),\nalso included in the repository in the `COPYING` file.\n\n## Credits\n\nApple, iPhone, iPad, iPod, iPod Touch, Apple TV, Apple Watch, Mac, iOS,\niPadOS, tvOS, watchOS, and macOS are trademarks of Apple Inc.\n\nThis project is an independent software library and has not been authorized,\nsponsored, or otherwise approved by Apple Inc.\n\nREADME Updated on: 2025-06-04\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibimobiledevice%2Flibtatsu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibimobiledevice%2Flibtatsu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibimobiledevice%2Flibtatsu/lists"}