{"id":21307024,"url":"https://github.com/perlalien/alien-libressl","last_synced_at":"2025-03-15T19:48:22.306Z","repository":{"id":39580784,"uuid":"105190491","full_name":"PerlAlien/Alien-LibreSSL","owner":"PerlAlien","description":"Alien wrapper for LibreSSL (alternative to OpenSSL)","archived":false,"fork":false,"pushed_at":"2024-12-22T21:52:36.000Z","size":50,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T09:11:56.445Z","etag":null,"topics":["alien","libressl","openssl","perl","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"Perl","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/PerlAlien.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-28T19:25:30.000Z","updated_at":"2022-05-31T19:37:03.000Z","dependencies_parsed_at":"2022-08-09T15:02:58.960Z","dependency_job_id":null,"html_url":"https://github.com/PerlAlien/Alien-LibreSSL","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-LibreSSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-LibreSSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-LibreSSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PerlAlien%2FAlien-LibreSSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PerlAlien","download_url":"https://codeload.github.com/PerlAlien/Alien-LibreSSL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784103,"owners_count":20347409,"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":["alien","libressl","openssl","perl","ssl","tls"],"created_at":"2024-11-21T16:29:26.749Z","updated_at":"2025-03-15T19:48:22.287Z","avatar_url":"https://github.com/PerlAlien.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alien::LibreSSL [![Build Status](https://api.cirrus-ci.com/github/PerlAlien/Alien-LibreSSL.svg)](https://cirrus-ci.com/github/PerlAlien/Alien-LibreSSL) ![linux](https://github.com/PerlAlien/Alien-LibreSSL/workflows/linux/badge.svg) ![windows-share](https://github.com/PerlAlien/Alien-LibreSSL/workflows/windows-share/badge.svg) ![windows-system](https://github.com/PerlAlien/Alien-LibreSSL/workflows/windows-system/badge.svg) ![macos-system](https://github.com/PerlAlien/Alien-LibreSSL/workflows/macos-system/badge.svg) ![macos-share](https://github.com/PerlAlien/Alien-LibreSSL/workflows/macos-share/badge.svg)\n\nAlien wrapper for LibreSSL (alternative to OpenSSL)\n\n# SYNOPSIS\n\nEUMM:\n\n```perl\nuse ExtUtils::MakeMaker;\nuse Alien::Base::Wrapper qw( Alien::LibreSSL !export );\n\nWriteMakefile(\n  ...\n  CONFIGURE =\u003e {\n    'Alien::Build::Wrapper' =\u003e 0,\n    'Alien::LibreSSL'       =\u003e 0,\n  },\n  Alien::Base::Wrapper-\u003emm_args,\n);\n```\n\nMB:\n\n```perl\nuse Module::Build;\nuse Alien::Base::Wrapper qw( Alien::LibreSSL !export );\n\nmy $build = Module::Build-\u003enew(\n  ...\n  configure_requires =\u003e {\n    'Alien::Build::Wrapper' =\u003e 0,\n    'Alien::LibreSSL'       =\u003e 0,\n  },\n  Alien::Base::Wrapper-\u003emb_args,\n  ...\n);\n\n$build-\u003ecreate_build_script;\n```\n\nPerl script:\n\n```perl\nuse Alien::LibreSSL;\nuse Env qw( @PATH );\n\nunshift @PATH, 'Alien::LibreSSL-\u003ebin_dir;\nsystem 'openssl ...';\n```\n\n# DESCRIPTION\n\nThis module provides an implementation of SSL.  It will use the system\nSSL, if it can be found.  If the system does not provide SSL, this alien\nwill download and build LibreSSL, a drop in replacement for OpenSSL\n\n## Motivation\n\nSSL has lots of pitfalls.  SSL on Perl has all of those pitfalls plus some\nmore.  Once you get [Net::SSLeay](https://metacpan.org/pod/Net::SSLeay) you are mostly out of the woods.  Getting\n[Net::SSLeay](https://metacpan.org/pod/Net::SSLeay) to install can be problematic on some platforms.  My hope is that\nsome combination of this module and [Alien::OpenSSL](https://metacpan.org/pod/Alien::OpenSSL) will one day make it easier\nto install [Net::SSLeay](https://metacpan.org/pod/Net::SSLeay).\n\n# CAVEATS\n\nNone of this applies to a system install where OpenSSL or LibreSSL is already\ninstalled.\n\nRetrieving LibreSSL or OpenSSL via the internet when you do not already have an\nSSL implementation introduces a bootstrapping problem.  Newer versions of\n[Alien::Build](https://metacpan.org/pod/Alien::Build) + [alienfile](https://metacpan.org/pod/alienfile) prefer the use of `curl` over [Net::SSLeay](https://metacpan.org/pod/Net::SSLeay)\nbecause on some platforms it is more reliable.  Further, this Alien will try\nto use `wget`.  `curl` and `wget` will only be used if they support the\n`https` protocol.  If neither `curl`, `wget` are available and [Net::SSLeay](https://metacpan.org/pod/Net::SSLeay)\nisn't _already_ installed, then this Alien will refuse to install because it\nhas no safe way of retrieving LibreSSL from the internet.  You can force\nan insecure install via `ftp` or `http` using the `ALIEN_OPENSSL_FTP`\nenvironment variable below, but that is NOT recommended.\n\n# ENVIRONMENT\n\n- ALIEN\\_OPENSSL\\_FTP\n\n    Set to `1` to allow downloads via `ftp` or `http` (the default).\n    Set to `0` to disallow insecure downloads over `ftp` or `http`.\n\n# SEE ALSO\n\n- [Alien](https://metacpan.org/pod/Alien)\n- [Alien::OpenSSL](https://metacpan.org/pod/Alien::OpenSSL)\n\n# AUTHOR\n\nGraham Ollis \u003cplicease@cpan.org\u003e\n\n# COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2017-2022 by Graham Ollis.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlalien%2Falien-libressl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperlalien%2Falien-libressl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperlalien%2Falien-libressl/lists"}