Issues with codesign

Hi,


I'm trying to codesign a wflow file in a ***.app bundle.

I run the "codesign -f -v -s "Developer ID Application: xxxxxxx" document.wflow"

But everytime I get:

document.wflow: replacing existing signature
document.wflow: errSecInternalComponent


When I try to remove the -f I get:

document.wflow: is already signed


But when I run "codesign -dv document.wflow" I get:

Executable=/private/var/folders/02/6nmx541x4rq4f6mz3n9__px40000gn/T/fxbundler5337258839194575333/images/image-2908348883327387593/PingID-TEST.app/Contents/Java/Uninstaller.app/Contents/document.wflow
Identifier=document
Format=generic
CodeDirectory v=20200 size=168 flags=0x0(none) hashes=1+2 location=embedded
document.wflow: no signature
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=1 size=168


Please, any help appreciated. I'm sitting on this for the last couple of days with no luck.