{"id":43617335,"url":"https://github.com/jamesruan/sodium","last_synced_at":"2026-02-04T12:37:47.062Z","repository":{"id":57489787,"uuid":"56073528","full_name":"jamesruan/sodium","owner":"jamesruan","description":"An wrapper for libsodium in golang","archived":false,"fork":false,"pushed_at":"2022-01-02T09:47:46.000Z","size":48,"stargazers_count":77,"open_issues_count":0,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-18T15:22:05.463Z","etag":null,"topics":["crypto","go","golang","libsodium"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesruan.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":null,"security":null,"support":null}},"created_at":"2016-04-12T15:06:15.000Z","updated_at":"2024-05-29T05:03:07.000Z","dependencies_parsed_at":"2022-08-29T19:31:10.824Z","dependency_job_id":null,"html_url":"https://github.com/jamesruan/sodium","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jamesruan/sodium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesruan%2Fsodium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesruan%2Fsodium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesruan%2Fsodium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesruan%2Fsodium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesruan","download_url":"https://codeload.github.com/jamesruan/sodium/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesruan%2Fsodium/sbom","scorecard":{"id":504199,"data":{"date":"2025-08-11","repo":{"name":"github.com/jamesruan/sodium","commit":"faa91e52c7d4862cf6fea49f8e12fb49ab883f25"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T22:52:28.597Z","repository_id":57489787,"created_at":"2025-08-19T22:52:28.597Z","updated_at":"2025-08-19T22:52:28.597Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29084413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["crypto","go","golang","libsodium"],"created_at":"2026-02-04T12:37:43.733Z","updated_at":"2026-02-04T12:37:47.057Z","avatar_url":"https://github.com/jamesruan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sodium\nA wrapper for [libsodium](https://github.com/jedisct1/libsodium) in golang\n\nSee documents [![GoDoc](https://godoc.org/github.com/jamesruan/sodium?status.svg)](https://godoc.org/github.com/jamesruan/sodium).\n\nCurrently this is build against libsodium 1.0.18.\n\nFollowing functions included:\n - `crypto_auth` `crypto_auth_verify`\n - `crypto_sign_keypair` `crypto_sign_seed_keypair` `crypto_sign_ed25519_sk_to_seed` `crypto_sign_ed25519_sk_to_pk`\n - `crypto_sign` `crypto_sign_open` `crypto_sign_detached` `crypto_sign_verify_detached`\n - `crypto_sign_init` `crypto_sign_update` `crypto_sign_final_create` `crypto_sign_final_verify`\n - `crypto_sign_ed25519_sk_to_curve25519` `crypto_sign_ed25519_pk_to_curve25519`\n - `crypto_scalarmult_base` `crypto_scalarmult`\n - `crypto_box_keypair` `crypto_box_seed_keypair`\n - `crypto_box_seal` `crypto_box_seal_open`\n - `crypto_box_easy` `crypto_box_open_easy` `crypto_box_detached` `crypto_box_open_detached`\n - `crypto_secretbox_easy` `crypto_secretbox_open_easy` `crypto_secretbox_detached` `crypto_secretbox_open_detached`\n - `crypto_pwhash` `crypto_pwhash_str` `crypto_pwhash_str_verify`\n - `crypto_pwhash_opslimit_interactive` `crypto_pwhash_memlimit_interactive`\n - `crypto_pwhash_opslimit_moderate` `crypto_pwhash_memlimit_moderate`\n - `crypto_pwhash_opslimit_sensitive` `crypto_pwhash_memlimit_sensitive`\n - `crypto_shorthash` `crypto_generichash_init` `crypto_generichash_update` `crypto_generichash_final`\n - `crypto_kdf_keygen` `crypto_kdf_derive_from_key`\n - `crypto_kx_keypair` `crypto_kx_seed_keypair` `crypto_kx_server_session_keys` `crypto_kx_client_session_keys`\n - `crypto_aead_chacha20poly1305_ietf_keygen` `crypto_aead_chacha20poly1305_ietf_encrypt` `crypto_aead_chacha20poly1305_ietf_decrypt`\n - `crypto_aead_chacha20poly1305_ietf_encrypt_detached` `crypto_aead_chacha20poly1305_ietf_decrypt_detached`\n - `crypto_aead_xchacha20poly1305_ietf_keygen` `crypto_aead_xchacha20poly1305_ietf_encrypt` `crypto_aead_xchacha20poly1305_ietf_decrypt`\n - `crypto_aead_xchacha20poly1305_ietf_encrypt_detached` `crypto_aead_xchacha20poly1305_ietf_decrypt_detached`\n - `crypto_secretstream_xchacha20poly1305_keygen` `crypto_secretstream_xchacha20poly1305_push_init` `crypto_secretstream_xchacha20poly1305_push`\n - `crypto_secretstream_xchacha20poly1305_pull_init` `crypto_secretstream_xchacha20poly1305_pull`\n - `sodium_memzero` `sodium_memcmp` `sodium_increment`\n\n\u003e NOTE: This is a modified and enhanced version based on [github.com/GoKillers/libsodium-go](https://github.com/GoKillers/libsodium-go).\n\u003e Because there're a lot of package reformat and interface changes, I'd like to launch a new project.\n\u003e Thankfully, the original author permits reuse its code as long as the original LICENSE remains.\n\u003e You can find the LICENSE.original and README.original.md stating the original license.\n\u003e And this version is released under MIT License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesruan%2Fsodium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesruan%2Fsodium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesruan%2Fsodium/lists"}