{"id":25161511,"url":"https://github.com/cunicu/go-feitian-oath","last_synced_at":"2026-04-27T01:31:46.453Z","repository":{"id":244539902,"uuid":"724883587","full_name":"cunicu/go-feitian-oath","owner":"cunicu","description":"A Go implementation to manage OATH-TOTP/HOTP and Challenge Response secrets on FEITIANs's tokens","archived":false,"fork":false,"pushed_at":"2025-09-15T08:27:45.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T10:25:13.624Z","etag":null,"topics":["feitian","go","golang","oath","smart-card"],"latest_commit_sha":null,"homepage":"","language":"Go","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/cunicu.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-29T01:36:03.000Z","updated_at":"2025-09-15T08:27:20.000Z","dependencies_parsed_at":"2025-04-03T13:42:47.938Z","dependency_job_id":"a4af1d53-8a82-4e73-97b2-51c1bcb3c7ac","html_url":"https://github.com/cunicu/go-feitian-oath","commit_stats":null,"previous_names":["cunicu/go-feitian-oath"],"tags_count":8,"template":false,"template_full_name":"cunicu/skeleton","purl":"pkg:github/cunicu/go-feitian-oath","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunicu%2Fgo-feitian-oath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunicu%2Fgo-feitian-oath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunicu%2Fgo-feitian-oath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunicu%2Fgo-feitian-oath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cunicu","download_url":"https://codeload.github.com/cunicu/go-feitian-oath/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cunicu%2Fgo-feitian-oath/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32319559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["feitian","go","golang","oath","smart-card"],"created_at":"2025-02-09T02:35:23.734Z","updated_at":"2026-04-27T01:31:46.420Z","avatar_url":"https://github.com/cunicu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024-2025 Steffen Vogel \u003cpost@steffenvogel.de\u003e\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n# go-feitian-oath: Template repository for Go packages in the cunicu organization\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/cunicu/go-feitian-oath/test.yaml?style=flat-square)](https://github.com/cunicu/go-feitian-oath/actions)\n[![goreportcard](https://goreportcard.com/badge/github.com/cunicu/go-feitian-oath?style=flat-square)](https://goreportcard.com/report/github.com/cunicu/go-feitian-oath)\n[![Codecov branch](https://img.shields.io/codecov/c/github/cunicu/go-feitian-oath/main?style=flat-square\u0026token=6XoWouQg6K)](https://app.codecov.io/gh/cunicu/go-feitian-oath/tree/main)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/cunicu/go-feitian-oath/blob/main/LICENSES/Apache-2.0.txt)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/cunicu/go-feitian-oath?style=flat-square)\n[![Go Reference](https://pkg.go.dev/badge/github.com/cunicu/go-feitian-oath.svg)](https://pkg.go.dev/github.com/cunicu/go-feitian-oath)\n\nThe package `go-feitian-oath` implements the protocol to manage HOTP, TOTP, challenge/response and static password credentials on FEITIAN FIDO keys.\nIt uses PC/SC over CCID interface to communicate with the smart card.\n\n## Features\n\n- Calculation of\n  - Time-based One-time Passwords (TOTP)\n  - Hash-based One-time Passwords (HOTP)\n  - Challenge Response (HMAC)\n  - Static passwords\n- Slot managment\n  - Set default\n  - Swap\n- Credential management\n  - Put\n  - List\n  - Delete\n- Factory reset of applet\n\n## Tested devices\n\n- [FEITIAN ePass FIDO NFC K9Plus](https://www.ftsafe.com/Products/FIDO/NFC)\n  - COS version 3301\n\n## Limitations\n\nThe OTP applet of the FEITIAN keys has several limitations in comparison to its competition:\n\n- It can only store 2 credentials\n  - Each of those two credentials can of type TOTP, HOTP, challenge/response or static password\n- It only supports SHA1 and SHA256 hash algorithms\n- Credentials can not be protected with a PIN code\n- Initial counter values for HOTP credentials can not be set\n\n**Note:** The FEITIAN OTP applet show similarities to [Yubico's `ykneo-oath` applet](https://github.com/Yubico/ykneo-oath) when it was still open source.\n\n## Contact\n\nPlease have a look at the contact page: [cunicu.li/docs/contact](https://cunicu.li/docs/contact).\n\n## License\n\ngo-feitian-oath is licensed under the [Apache 2.0](./LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunicu%2Fgo-feitian-oath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcunicu%2Fgo-feitian-oath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcunicu%2Fgo-feitian-oath/lists"}