Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase user password buffer in IsAESSupported command #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libnitrokey/stick10_commands.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2018 Nitrokey UG
* Copyright (c) 2015-2019 Nitrokey UG
*
* This file is part of libnitrokey.
*
Expand Down Expand Up @@ -815,7 +815,7 @@ class ChangeUserPin : Command<CommandID::CHANGE_USER_PIN> {
class IsAESSupported : Command<CommandID::DETECT_SC_AES> {
public:
struct CommandPayload {
uint8_t user_password[20];
uint8_t user_password[30];
std::string dissect() const {
std::stringstream ss;
print_to_ss_volatile(user_password);
Expand Down