12 changes: 6 additions & 6 deletions Makefile.am
Expand Up @@ -238,26 +238,20 @@ man1_MANS = \
man/man1/tpm2_pcrlist.1 \
man/man1/tpm2_quote.1 \
man/man1/tpm2_takeownership.1 \
man/man1/tpm2_getpubek.1 \
man/man1/tpm2_makecredential.1 \
man/man1/tpm2_hash.1 \
man/man1/tpm2_nvlist.1 \
man/man1/tpm2_nvread.1 \
man/man1/tpm2_nvreadlock.1 \
man/man1/tpm2_nvwrite.1 \
man/man1/tpm2_nvdefine.1 \
man/man1/tpm2_nvrelease.1 \
man/man1/tpm2_hmac.1 \
man/man1/tpm2_readpublic.1 \
man/man1/tpm2_getrandom.1 \
man/man1/tpm2_load.1 \
man/man1/tpm2_loadexternal.1 \
man/man1/tpm2_rsadecrypt.1 \
man/man1/tpm2_rsaencrypt.1 \
man/man1/tpm2_sign.1 \
man/man1/tpm2_unseal.1 \
man/man1/tpm2_verifysignature.1 \
man/man1/tpm2_listpersistent.1 \
man/man1/tpm2_rc_decode.1 \
man/man1/tpm2_pcrextend.1

Expand All @@ -275,6 +269,12 @@ if HAVE_MD2MAN_ROFF
man/man1/tpm2_evictcontrol.1 \
man/man1/tpm2_getmanufec.1 \
man/man1/tpm2_getpubak.1 \
man/man1/tpm2_getpubek.1 \
man/man1/tpm2_getrandom.1 \
man/man1/tpm2_hash.1 \
man/man1/tpm2_hmac.1 \
man/man1/tpm2_listpersistent.1 \
man/man1/tpm2_load.1 \
man/man1/tpm2_pcrevent.1
endif

Expand Down
2 changes: 0 additions & 2 deletions man/tpm2_activatecredential.1.md
Expand Up @@ -74,5 +74,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

## AUTHOR
William Roberts <william.c.roberts@intel.com>
2 changes: 0 additions & 2 deletions man/tpm2_akparse.1.md
Expand Up @@ -51,5 +51,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

## AUTHOR
William Roberts <william.c.roberts@intel.com>
2 changes: 0 additions & 2 deletions man/tpm2_certify.1.md
Expand Up @@ -84,5 +84,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

## AUTHOR
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_create.1.md
Expand Up @@ -100,6 +100,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
6 changes: 3 additions & 3 deletions man/tpm2_createpolicy.1.md
Expand Up @@ -53,6 +53,9 @@ These options control creating the policy authorization session:

[common tcti options](common/tcti.md)

[supported hash algorithms](common/hash.md)

[algorithm specifiers](common/alg.md)

EXAMPLES
--------
Expand All @@ -73,6 +76,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
4 changes: 0 additions & 4 deletions man/tpm2_createprimary.1.md
Expand Up @@ -24,7 +24,6 @@ OPTIONS
-------

* `-A`, `--auth`=_HIERARCHY_:
File to save the policy digest.
Specify the hierarchy under which the object is created. This will also dictate which authorization secret (if any) must be supplied.
Supported options are:
* `o` for `TPM_RH_OWNER`
Expand Down Expand Up @@ -93,6 +92,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_dictionarylockout.1.md
Expand Up @@ -66,6 +66,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_dump_capability.1.md
Expand Up @@ -60,6 +60,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_encryptdecrypt.1.md
Expand Up @@ -66,6 +66,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_evictcontrol.1.md
Expand Up @@ -70,6 +70,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_getmanufec.1.md
Expand Up @@ -98,6 +98,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
Imran Desai <imran.desai@intel.com>
3 changes: 0 additions & 3 deletions man/tpm2_getpubak.1.md
Expand Up @@ -90,6 +90,3 @@ HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

AUTHOR
------
William Roberts <william.c.roberts@intel.com>
93 changes: 0 additions & 93 deletions man/tpm2_getpubek.1.in

This file was deleted.

82 changes: 82 additions & 0 deletions man/tpm2_getpubek.1.md
@@ -0,0 +1,82 @@
tpm2_getpubek 1 "SEPTEMBER 2017" tpm2-tools
==================================================

NAME
----

tpm2_getpubek(1) - Generate TCG profile compliant endorsement key.

SYNOPSIS
--------

`tpm2_getpubek` [OPTIONS]

DESCRIPTION
-----------

tpm2_getpubek(1) - Generate TCG profile compliant endorsement key(endorsement
hierarchy primary object), make it persistent with give ek handle, and return
public EK, if any passwd option is missing, assume NULL.

Refer to:
<http://www.trustedcomputinggroup.org/files/static_page_files/7CAA5687-1A4B-B294-D04080D058E86C5F>

OPTIONS
-------

* `-e`, `--endorsePasswd`=_ENDORSE\_PASSWORD_:
Specifies current endorsement password, defaults to NULL.
Passwords should follow the "password formatting standards, see section
"Password Formatting".

* `-o`, `--ownerPasswd`=_OWNER\_PASSWORD_
Specifies the current owner password, defaults to NULL.
Same formatting as the endorse password value or -e option.

* `-P`, `--eKPasswd`=_EK\_PASSWORD_
Specifies the EK password when created, defaults to NULL.
Same formatting as the endorse password value or -e option.

* `-H`, `--handle`=_HANDLE_:
specifies the handle used to make EK persistent (hex).

* `-g`, `--alg`=_ALGORITHM_:
specifies the algorithm type of EK.
See section "Supported Public Object Algorithms" for a list of supported
object algorithms. See section "Algorithm Specifiers" on how to specify
an algorithm argument.

* `-f`, `--file`=_FILE_:
specifies the file used to save the public portion of EK. This will be a
binary data structure corresponding to the TPM2B_PUBLIC struct in the
specification.

* `-S`, `--input-session-handle`=_SESSION_:
Optional Input session handle from a policy session for authorization.

[common options](common/options.md)

[common tcti options](common/tcti.md)

[supported public object algorithms](common/object-alg.md)

[algorithm specifiers](common/alg.md)

EXAMPLES
--------
```
tpm2_getpubek -e abc123 -o abc123 -P passwd -H 0x81010001 -g rsa -f ek.pub
```

RETURNS
-------
0 on success or 1 on failure.

BUGS
----
[Github Issues](https://github.com/01org/tpm2-tools/issues)

HELP
----
See the [Mailing List](https://lists.01.org/mailman/listinfo/tpm2)

54 changes: 0 additions & 54 deletions man/tpm2_getrandom.1.in

This file was deleted.