{"id":19363297,"url":"https://github.com/mathisve/go-totp","last_synced_at":"2025-02-24T12:51:35.368Z","repository":{"id":215675715,"uuid":"739176559","full_name":"mathisve/go-TOTP","owner":"mathisve","description":"totp experiment in golang","archived":false,"fork":false,"pushed_at":"2024-02-21T20:03:14.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T17:54:31.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathisve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-05T00:24:27.000Z","updated_at":"2024-01-05T19:52:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee7f56c7-2ff6-4dff-9067-56cb7860babe","html_url":"https://github.com/mathisve/go-TOTP","commit_stats":null,"previous_names":["mathisve/go-totp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2Fgo-TOTP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2Fgo-TOTP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2Fgo-TOTP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathisve%2Fgo-TOTP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathisve","download_url":"https://codeload.github.com/mathisve/go-TOTP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240483778,"owners_count":19808632,"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-11-10T07:33:39.404Z","updated_at":"2025-02-24T12:51:35.343Z","avatar_url":"https://github.com/mathisve.png","language":"Go","readme":"# go-TOTP\ntotp (Timed One Time Password) experiment in golang\n\n### server\n- GetSecret - returns a SecretID and Secret\n- Challenge - Takes SecretID and TOTP, returns OK if TOTP is correct\n\n### client\n1. Requests SecretID and Secret\n2. Computes TOTP based on the Secret and Timeblock\n3. Sends Challenge request to server with SecretID and TOTP\n\n\n## setup\nprotoc command:\n```shell\nprotoc --go_out=. \\\n    --go_opt=paths=source_relative \\\n    --go-grpc_out=. \\\n    --go-grpc_opt=paths=source_relative \\\n    totp/totp.proto\n```\n\nstart:\n```shell\ngo run server/server.go\ngo run client/client.go\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisve%2Fgo-totp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathisve%2Fgo-totp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathisve%2Fgo-totp/lists"}