Skip to content

Commit

Permalink
5.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Oct 22, 2024
1 parent cec33e7 commit 47adba7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 26 deletions.
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

config :ca,
ldap_port: 1389,
Expand Down
2 changes: 1 addition & 1 deletion lib/csr.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule CA.CSR do
:logger.info 'CSR SERVER DN ~p~n', [dn]
X509.Certificate.new(X509.PublicKey.derive(server_key),
dn, ca, ca_key, extensions: [subject_alt_name:
X509.Certificate.Extension.subject_alt_name(["synrc.com"]) ])
X509.Certificate.Extension.subject_alt_name(["*.synrc.com"]) ])
end

def csr(user) do
Expand Down
37 changes: 13 additions & 24 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,33 +1,22 @@
defmodule CA.Mixfile do
use Mix.Project

def application(), do: [ mod: {CA, []}, applications: [:x509]]
def project() do
[
app: :ca,
version: "4.8.2",
elixir: "~> 1.7",
version: "5.10.1",
description: "CA CXC 138 21 Certificate Authority",
package: package(),
deps: deps()
]
end

def package do
[
files: ~w(config src include priv lib mix.exs LICENSE README.md),
licenses: ["ISC"],
maintainers: ["Namdak Tonpa"],
name: :ca,
links: %{"GitHub" => "https://github.com/synrc/ca"}
]
end

def application(), do: [ mod: {CA, []}, applications: [:x509,:ex_doc]]

def deps() do
[
{:x509, "~> 0.8.7"},
{:ex_doc, ">= 0.0.0", only: :dev}
package: [
name: :ca,
files: ~w(config src include priv lib mix.exs LICENSE README.md),
licenses: ["ISC"],
maintainers: ["Namdak Tonpa"],
links: %{"GitHub" => "https://github.com/synrc/ca"}
],
deps: [
{:ex_doc, ">= 0.0.0", only: :dev},
{:x509, "~> 0.8.7"}
]
]
end
end

0 comments on commit 47adba7

Please sign in to comment.