Coder Social home page Coder Social logo

Comments (8)

groob avatar groob commented on August 15, 2024

You need to use the forked version of pkcs7, and specify the correct source with your dependency management tool. dep does this well.

See an example in the Gopkg.toml file:

[[constraint]]
  branch = "sha256"
  name = "github.com/fullsailor/pkcs7"
  source = "github.com/groob/pkcs7"

from scep.

mamhaidly avatar mamhaidly commented on August 15, 2024

I tried using the forked repo but I could not. This time, the error is linked to govendor (the dependency management tool I am using, I reported an issue on their repo) so I will close thie one.
Thank you @groob

from scep.

mamhaidly avatar mamhaidly commented on August 15, 2024

Did you change anything @groob ? I changed to dep and it automatically downloaded your repo. Is it normal behavior?

from scep.

groob avatar groob commented on August 15, 2024

It's specified in the lock file. I did not change anything.

from scep.

mamhaidly avatar mamhaidly commented on August 15, 2024

Sorry for bothering but I am stuck.
This is in my Gopkg.lock file
[[projects]]
name = "github.com/micromdm/scep"
packages = [
"scep",
"scep/internal/pkcs7"
]
revision = "a202afd5e358b857c95d048fc47432759db0d9bd"
version = "v1.0.0"
and the files that are in it are different than your pkcs7 repo.
Are these the correct files to have pkcs7 running?
I am asking because I am getting an error from a function call in this library while processing the post request made by the built in iOS SCEP client while trying to install a configuration profile.

from scep.

groob avatar groob commented on August 15, 2024

What does your Gopkg.toml look like?

from scep.

mamhaidly avatar mamhaidly commented on August 15, 2024

[[constraint]]
branch = "master"
name = "github.com/DHowett/go-plist"

[[constraint]]
name = "github.com/gin-gonic/gin"
version = "1.2.0"

[prune]
go-tests = true
unused-packages = true

[metadata.heroku]
root-package = "github.com/user/golang-gin"
go-version = "1.10.2"
install = [ "./..." ]

from scep.

groob avatar groob commented on August 15, 2024

See https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md for how to specify custom sources for packages. You need to specifically specify the pkcs7 dependency.

The Gopkg.toml file in this repo already does that.

from scep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.