- Documentation (2.5.2)
- Release Notes
- Tutorials
- Reference
- Introduction
- System Properties
- Settings Files
- Ivy Files
- Ant Tasks
- artifactproperty
- artifactreport
- buildlist
- buildnumber
- buildobr
- cachefileset
- cachepath
- checkdepsupdate
- cleancache
- configure
- convertmanifest
- convertpom
- deliver
- dependencytree
- findrevision
- fixdeps
- info
- install
- listmodules
- makepom
- post resolve tasks
- publish
- report
- repreport
- resolve
- resources
- retrieve
- settings
- var
- Using standalone
- OSGi
- Developer doc
signers
Tag: signers
[since 2.2]
Defines a list of detached signature generators usable in Ivy. Each generator is identified by its name, given as an attribute. The child tags used to configure the signature generator must be equal to the name of a signature generator type (either built-in or added with the typedef tag).
Ivy supports the following signature generator out of the box:
-
pgp
generates an OpenPGP compatible ASCII armored detached signature.
Child elements
Element | Description | Cardinality |
---|---|---|
any signature generator |
adds a signature generator to the list of registered generators |
1..n |
Built-in Generators
PGP
This generator is capable of generating an OpenPGP compatible ASCII armored detached signature.
Remark: This generator uses the BouncyCastle OpenPGP library. Before this generator can be used, the library and its JCE provider library must be available on Ivy’s classpath.
Attribute | Description | Required |
---|---|---|
name |
The name of the signature generator. |
Yes |
secring |
The location of the secret keyring. |
No, defaults to |
keyId |
The identifier of the key to use. The keyword |
No, defaults to |
password |
The password of the private key. |
Yes |
Examples
<signers>
<pgp name="mypgp" password="my-password"/>
</signers>
Defines a detached signature generator with name 'mypgp' which uses the secret key ring on the default location and automatically selects a private key.
<signers>
<pgp name="mypgp" password="my-password" keyId="123ABC45"/>
</signers>
Same as before, but this time the key 123ABC45
is used to generate the detached signature.