aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
Commit message (Expand)AuthorAge
* Use map_err(|_| x) instead of or_else(|_| Err(x))Robin Krahl2020-08-30
* Refactor string handling in utilRobin Krahl2020-02-03
* Merge branch 'hotfix-0.5.2' into nextRobin Krahl2020-01-28
|\
| * Regenerate temporary passwords with null bytesRobin Krahl2020-01-28
| * Use CString to store temporary passwordsRobin Krahl2020-01-28
* | Add String value to the Error::UnexpectedError variantRobin Krahl2020-01-28
|/
* Replace rand_os::OsRng with rand_core::OsRngRobin Krahl2019-12-27
* Update rand_{core,os} dependenciesRobin Krahl2019-07-16
* Always return a Result when communicating with a deviceRobin Krahl2019-01-27
* Replace or with or_else in get_cstringRobin Krahl2019-01-27
* Remove rand_core::Error from public APIRobin Krahl2019-01-25
* Add license and copyright informationRobin Krahl2019-01-23
* Return UTF-8 error if libnitrokey returns an invalid stringRobin Krahl2019-01-23
* Refactor and clean up all codeRobin Krahl2019-01-23
* Prefer into() over numeric castingRobin Krahl2019-01-23
* Introduce the Error::UnexpectedError variantRobin Krahl2019-01-20
* Refactor library errors into LibraryError enumRobin Krahl2019-01-20
* Move the CommandError::Unknown to ErrorRobin Krahl2019-01-20
* Refactor CommandError::RngError into Error::RandErrorRobin Krahl2019-01-20
* Return Error instead of CommandErrorRobin Krahl2019-01-20
* Move util::CommandError to the new error moduleRobin Krahl2019-01-20
* Fix result_from_string for empty return valuesRobin Krahl2019-01-16
* Use rand_os for random data generationDaniel Mueller2019-01-14
* Make three more error codes knownDaniel Mueller2019-01-09
* Preserve unknown error code valuesDaniel Mueller2019-01-03
* Fix typo: occured -> occurredDaniel Mueller2019-01-03
* Remove CommandError::RngErrorRobin Krahl2019-01-03
* Derive Clone and Copy for CommandError, LogLevel, OtpModeRobin Krahl2018-12-30
* Update to rand v0.6Robin Krahl2018-12-16
* Make hidden life time parameters explicitRobin Krahl2018-12-16
* Always free string pointers returned by libnitrokeyRobin Krahl2018-12-10
* Implement std::fmt::Display for CommandErrorRobin Krahl2018-06-07
* Implement easier CString creationRobin Krahl2018-06-07
* Use Result<(), CommandError> instead of CommandStatusRobin Krahl2018-06-07
* Add rudimentary support for the Nitrokey StorageRobin Krahl2018-05-29
* Rewrap documentation comments to 100 charactersRobin Krahl2018-05-28
* Improve log level documentationRobin Krahl2018-05-22
* Restructure code by functionalityRobin Krahl2018-05-22