NIIBE Yutaka
591a8373a5
agent: More clean up of SSH support.
...
* common/util.h (get_pk_algo_from_key): New.
* common/sexputil.c (get_pk_algo_from_key): The implementation.
* agent/gpg-agent.c: Remove include of openpgpdefs.h.
* agent/command-ssh.c (struct ssh_key_type_spec): Use integer ALGO.
(ssh_key_types): Update with GCRY_PK_*.
(make_cstring, sexp_extract_identifier): Remove.
(sexp_key_construct): Use gcry_pk_algo_name to get ALGO string.
(ssh_key_to_blob): Use cadr to get value list.
(ssh_key_type_lookup): Lookup with integer ALGO.
(ssh_receive_key): Follow the change of ssh_key_type_lookup.
(ssh_send_key_public): Likewise. Use get_pk_algo_from_key to get ALGO.
--
This fixes the regresson introduced by the commit
894789c3299dc47a8c1ccaaa7070382f0fae0262.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-08-08 18:55:53 +09:00
..
2013-02-06 12:56:19 +01:00
2016-07-01 14:16:18 +02:00
2015-04-24 16:42:28 +02:00
2014-08-26 17:47:54 +02:00
2016-06-07 13:48:46 +02:00
2016-06-07 13:09:00 +02:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2016-06-23 20:01:15 +02:00
2016-06-23 09:38:12 +02:00
2016-05-27 15:41:55 +02:00
2015-12-21 11:37:21 +01:00
2016-06-28 18:21:50 +02:00
2016-05-24 15:43:16 +02:00
2015-10-28 10:20:17 +01:00
2014-01-29 17:45:05 +01:00
2015-04-24 16:42:28 +02:00
2015-12-14 16:21:19 +01:00
2015-11-17 12:50:22 +01:00
2016-01-13 14:42:12 +01:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2011-02-04 12:57:53 +01:00
2016-06-28 15:01:57 +02:00
2016-05-27 22:48:31 +02:00
2016-05-27 22:48:31 +02:00
2016-05-27 22:48:31 +02:00
2016-07-26 14:49:02 +02:00
2016-05-28 00:07:09 +02:00
2011-02-04 12:57:53 +01:00
2016-08-03 15:27:13 +02:00
2014-03-12 18:35:36 +01:00
2016-06-07 13:09:00 +02:00
2016-06-07 13:09:00 +02:00
2016-06-28 15:53:59 +02:00
2016-06-28 15:53:59 +02:00
2013-05-07 21:35:48 +02:00
2013-11-18 14:09:47 +01:00
2015-11-17 12:50:22 +01:00
2016-06-08 15:14:06 +02:00
2015-02-11 10:28:25 +01:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-07-01 16:27:43 +02:00
2015-01-28 19:57:22 +01:00
2016-08-03 16:55:33 +02:00
2016-03-02 20:36:16 +01:00
2015-12-14 16:21:19 +01:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-06-02 15:57:59 +02:00
2016-04-29 11:04:04 +02:00
2016-08-03 15:27:13 +02:00
2015-03-17 09:18:23 +01:00
2015-03-20 15:40:09 +01:00
2015-03-20 15:40:09 +01:00
2016-01-08 06:33:27 +01:00
2016-01-08 06:33:27 +01:00
2016-04-25 17:26:57 +02:00
2015-04-24 16:42:28 +02:00
2015-12-12 14:06:30 +01:00
2015-10-20 12:17:46 +02:00
2015-10-16 16:40:40 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2016-06-23 13:17:25 +02:00
2016-06-23 13:17:25 +02:00
2016-06-02 15:57:59 +02:00
2016-06-20 23:59:18 +02:00
2012-04-20 15:48:48 +02:00
2016-03-02 14:27:30 +01:00
2016-07-02 16:18:50 +02:00
2016-07-01 16:27:43 +02:00
2016-03-02 14:14:33 +01:00
2016-03-02 14:14:33 +01:00
2015-11-17 12:50:22 +01:00
2012-04-20 15:48:48 +02:00
2016-04-12 14:38:44 +02:00
2016-08-08 18:55:53 +09:00
2013-02-06 12:56:19 +01:00
2012-04-20 15:48:48 +02:00
2016-06-30 18:50:16 +02:00
2015-04-24 16:10:15 +02:00
2015-09-29 15:33:59 +09:00
2012-04-20 15:48:48 +02:00
2015-12-14 16:21:19 +01:00
2016-05-31 15:51:18 +02:00
2016-06-28 18:21:50 +02:00
2016-06-11 12:09:48 +02:00
2016-04-25 17:26:57 +02:00
2016-04-21 14:38:53 +02:00
2016-06-08 16:18:02 +02:00
2016-04-20 15:02:37 +02:00
2012-06-05 19:29:22 +02:00
2016-05-24 15:43:16 +02:00
2016-06-28 18:21:50 +02:00
2012-06-05 19:29:22 +02:00
2016-05-03 11:26:06 +02:00
2016-07-26 14:29:54 +02:00
2016-07-04 10:00:34 +02:00
2012-06-05 19:29:22 +02:00
2016-06-28 18:21:50 +02:00
2016-01-06 08:31:38 +01:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2015-03-10 15:35:30 +01:00
2011-02-04 12:57:53 +01:00
2016-07-01 16:27:43 +02:00
2016-05-03 11:26:06 +02:00
2015-11-17 12:50:22 +01:00
2015-09-29 15:33:59 +09:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2015-04-24 16:42:28 +02:00
2015-12-12 14:06:30 +01:00
2014-11-11 15:14:31 +01:00
2016-01-06 08:31:38 +01:00
2015-04-24 16:42:28 +02:00
2015-10-30 12:40:22 +01:00
2016-01-06 08:35:56 +01:00
2012-04-20 15:48:48 +02:00
2015-11-17 12:50:22 +01:00
2014-03-27 12:59:55 +01:00
2015-12-12 14:06:30 +01:00
2016-01-06 08:35:56 +01:00
2012-04-20 15:48:48 +02:00
2016-04-21 09:17:11 +02:00
2016-01-26 09:53:42 +01:00
2016-08-08 18:55:53 +09:00
2016-08-03 15:27:13 +02:00
2015-04-24 16:42:28 +02:00
2015-11-27 18:32:26 +01:00
2015-04-24 16:42:28 +02:00
2015-04-24 16:42:28 +02:00
2015-02-03 09:12:45 +01:00
2014-08-26 17:47:54 +02:00
2012-04-20 15:48:48 +02:00
2015-12-14 16:21:19 +01:00
2016-06-28 15:53:59 +02:00
2015-10-30 12:33:40 +01:00