Skip to content

Commit

Permalink
fix p7m decode string
Browse files Browse the repository at this point in the history
  • Loading branch information
MFranceschi6 committed Feb 15, 2024
1 parent 4d91c55 commit 74ab429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FatturaElettronica/FileHandler/XMLHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public class XMLHandler{
let p7mPath = path.absoluteString.replacingOccurrences(of: "file://", with: "")


let command = "openssl smime -decrypt -verify -inform DER -in \(p7mPath) -noverify -out \(p7mPath).xml"
let command = "openssl cms -verify -in \(p7mPath) -inform DER -no-CAfile -verify_retcode -noverify -out \(p7mPath).xml"

_ = self.shell(command: command)

Expand Down

0 comments on commit 74ab429

Please sign in to comment.