Skip to content

Commit

Permalink
Add changelog file, fix online man page URLs, CMake multilib support
Browse files Browse the repository at this point in the history
  • Loading branch information
zpuskas committed Apr 9, 2018
1 parent 2930044 commit 401383b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
oath-uri - Changelog

Version 1.0.0 (2018.04.08.)
---------------------------

* Inital public release
* liboathuri implements full support for Google Authenticator key URI format
* oathuri CLI implements generating URI based on user input
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ PROJECT(
oath-uri
LANGUAGES C
VERSION 1.0.0
DESCRIPTION "Oath Key URI generator library and CLI"
DESCRIPTION "OATH Key URI generator library and CLI"
)

## CMake settings
Expand All @@ -36,6 +36,11 @@ IF(NOT CMAKE_BUILD_TYPE)
SET( CMAKE_BUILD_TYPE "Release" )
ENDIF(NOT CMAKE_BUILD_TYPE)

# Allow for overriding default lib installation path (needed on multiarch)
if(NOT DEFINED LIB_INSTALL_DIR)
set(LIB_INSTALL_DIR lib)
endif()


## Feature switches
OPTION( OATHURI_CLI "Build command line interface" ON )
Expand Down Expand Up @@ -64,7 +69,7 @@ TARGET_LINK_LIBRARIES( oathuri-lib PUBLIC ${CURL_LIBRARIES} )

INSTALL(
TARGETS oathuri-lib
LIBRARY DESTINATION lib
LIBRARY DESTINATION ${LIB_INSTALL_DIR}
PUBLIC_HEADER DESTINATION include
)
INSTALL(
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ The `oathuri` command line tool is intended to be used in tandem with
[qrencode](https://fukuchi.org/works/qrencode/) to provide an easy way to
generate authenticator application key sharing URIs and associated QR codes.
Find out how to use it by reading the
[oathuri(1)](https://sinustrom.info/projects/oath-uri/man/oathuri/) man page.
[oathuri(1)](https://sinustrom.info/projects/oath-uri/man/1/oathuri/) man page.

`liboathuri` is used under the hood for this and it's also available to be used
by your C/C++ software. To learn the API read the
[oathuri.h(3)](https://sinustrom.info/projects/oath-uri/man/oathuri_h/) man page.
[oathuri.h(3)](https://sinustrom.info/projects/oath-uri/man/3/oathuri_h/) man page.

The code is made available in the hopes of making two-factor authentication
available to wider audiences in a more user friendly (plus yet another) way and
Expand Down

0 comments on commit 401383b

Please sign in to comment.